mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 02:23:34 +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):
|
def get_relating_type_id(self, context):
|
||||||
if not AuthoringData.is_loaded:
|
if not AuthoringData.is_loaded:
|
||||||
AuthoringData.load()
|
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"]
|
return AuthoringData.data["relating_type_id"]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user