[Arch] Always use a default IFC type - fixes yorikvanhavre/FreeCAD-NativeIFC#60

This commit is contained in:
Yorik van Havre
2024-02-12 11:40:43 +01:00
committed by Chris Hennes
parent 637287e932
commit e16f993df7

View File

@@ -1711,7 +1711,7 @@ def getIfcTypeFromObj(obj):
if "::" in ifctype:
# it makes no sense to return IfcPart::Cylinder for a Part::Cylinder
# this is not a ifctype at all
ifctype = None
ifctype = "IfcBuildingElementPRoxy"
# print("Return value of getIfcTypeFromObj: {}".format(ifctype))
return ifctype