Arch: Fixed group support in IFC export

This commit is contained in:
Yorik van Havre
2020-10-01 10:30:26 +02:00
parent 69fa329223
commit a01d045498

View File

@@ -1637,6 +1637,8 @@ def getIfcTypeFromObj(obj):
if not "::" in ifctype:
ifctype = "Ifc" + ifctype
elif ifctype == "App::DocumentObjctGroup":
ifctype = "IfcGroup"
else:
# it makes no sense to return IfcPart::Cylinder for a Part::Cylinder
# this is not a ifctype at all