Arch: Minor bugfix in IFC exporter

This commit is contained in:
Yorik van Havre
2019-03-06 17:04:50 -03:00
parent 13433f4779
commit 8a84875e07

View File

@@ -1807,7 +1807,7 @@ def export(exportList,filename):
"PredefinedType": internal,
"ElevationWithFlooring": obj.Shape.BoundBox.ZMin/1000.0})
elif ifctype == "IfcBuildingElementProxy":
if ifcopenshell.schema_identifier == "IFC4":
if schema == "IFC4":
kwargs.update({"PredefinedType": "ELEMENT"})
else:
kwargs.update({"CompositionType": "ELEMENT"})