mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
proposed fix for #4622: adding IfcTypeProduct as classes that can be reassigned
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user