You can now add structural connections to members

This commit is contained in:
Dion Moult
2021-04-01 11:09:44 +11:00
parent 1820f72bc4
commit e7c6f28312
6 changed files with 42 additions and 9 deletions
@@ -10,9 +10,6 @@ class Usecase:
self.settings[key] = value
def execute(self):
return self.file.create_entity("IfcStructuralAnalysisModel", **{
"GlobalId": ifcopenshell.guid.new(),
"OwnerHistory": ifcopenshell.api.run("owner.create_owner_history", self.file),
"Name": "Unnamed",
"PredefinedType": "LOADING_3D"
})
return ifcopenshell.api.run(
"root.create_entity", self.file, ifc_class="IfcStructuralAnalysisModel", predefined_type="LOADING_3D"
)