Files
IfcOpenShell/src/ifcopenshell-python/ifcopenshell/api/sequence/edit_work_plan.py
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
409 B
Python
Raw Normal View History

2021-04-07 00:04:57 +01:00
class Usecase:
def __init__(self, file, **settings):
self.file = file
self.settings = {
"work_plan": 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_plan"], name, value)