mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 06:12:38 +00:00
73439e2114
* Adaptive UI based on IFC version * You can now load new classification libraries on the fly * You can mix classification libraries with project references
14 lines
423 B
Python
14 lines
423 B
Python
class Usecase:
|
|
def __init__(self, file, settings=None):
|
|
self.file = file
|
|
self.settings = {
|
|
"classification": 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["classification"], name, value)
|