proposed fix for #4622: adding IfcTypeProduct as classes that can be reassigned

This commit is contained in:
Ryan Schultz
2024-05-05 14:51:12 -05:00
parent d694d8fcc2
commit 6046a4bdd9
@@ -59,6 +59,7 @@ class IfcClassData:
"IfcContext",
"IfcAnnotation",
"IfcRelSpaceBoundary",
"IfcTypeProduct",
]
version = tool.Ifc.get_schema()
if version == "IFC2X3":
@@ -70,6 +71,7 @@ class IfcClassData:
"IfcStructuralItem",
"IfcAnnotation",
"IfcRelSpaceBoundary",
"IfcTypeProduct",
]
return [(e, e, (get_entity_doc(version, e) or {}).get("description", "")) for e in products]