mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 18:43:26 +00:00
13 lines
378 B
Python
13 lines
378 B
Python
class Usecase:
|
|
def __init__(self, file, **settings):
|
|
self.file = file
|
|
self.settings = {
|
|
"Identification": "APTR",
|
|
"Name": "Aperture Science",
|
|
}
|
|
for key, value in settings.items():
|
|
self.settings[key] = value
|
|
|
|
def execute(self):
|
|
return self.file.create_entity("IfcOrganization", **self.settings)
|