Arch: ifc export, ifc roof does not have a predefined type in IFC 2x3

This commit is contained in:
Bernd Hahnebach
2019-04-30 07:35:34 +02:00
parent b09ab03724
commit 650a181ae7

View File

@@ -2398,7 +2398,7 @@ def getIfcTypeFromObj(obj):
def exportIFC2X3Attributes(obj, kwargs):
ifctype = getIfcTypeFromObj(obj)
if ifctype in ["IfcSlab", "IfcFooting", "IfcRoof"]:
if ifctype in ["IfcSlab", "IfcFooting"]:
kwargs.update({"PredefinedType": "NOTDEFINED"})
elif ifctype == "IfcBuilding":
kwargs.update({"CompositionType": "ELEMENT"})