mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-17 19:09:07 +00:00
Integrate ifcgroups with selector
This commit is contained in:
@@ -24,7 +24,8 @@ class Usecase:
|
||||
def __init__(self, file, **settings):
|
||||
self.file = file
|
||||
self.settings = {
|
||||
"Name": "Unnamed"
|
||||
"Name": "Unnamed",
|
||||
"Description": "",
|
||||
}
|
||||
for key, value in settings.items():
|
||||
self.settings[key] = value
|
||||
@@ -36,5 +37,6 @@ class Usecase:
|
||||
"GlobalId": ifcopenshell.guid.new(),
|
||||
"OwnerHistory": ifcopenshell.api.run("owner.create_owner_history", self.file),
|
||||
"Name": self.settings["Name"],
|
||||
"Description": self.settings["Description"],
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user