mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Fix bug when duplicating an ifc type
This commit is contained in:
@@ -43,6 +43,9 @@ def get_boundary_class(self, context):
|
||||
def get_relating_type_id(self, context):
|
||||
if not AuthoringData.is_loaded:
|
||||
AuthoringData.load()
|
||||
else:
|
||||
AuthoringData.data["type_elements"] = AuthoringData.type_elements()
|
||||
AuthoringData.data["relating_type_id"] = AuthoringData.relating_type_id()
|
||||
return AuthoringData.data["relating_type_id"]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user