Feature work schedule (#1419)

* ifcopenshell.api modules Persons and Organisations account for IFC4 SCHEMA CHANGE

* New Feature to manpiulate Work Plans
This commit is contained in:
Sigma Dimensions
2021-04-07 00:31:16 +01:00
committed by GitHub
parent a777a558bd
commit becb375ec2
9 changed files with 305 additions and 1 deletions
@@ -0,0 +1,13 @@
class Usecase:
def __init__(self, file, **settings):
self.file = file
self.settings = {
"work_schedule": None,
"attributes": {}
}
for key, value in settings.items():
self.settings[key] = value
def execute(self):
for name, value in self.settings["attributes"].items():
setattr(self.settings["work_schedule"], name, value)