From e16f993df71b2eac53b60c16b5e8b1838c868759 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Mon, 12 Feb 2024 11:40:43 +0100 Subject: [PATCH] [Arch] Always use a default IFC type - fixes yorikvanhavre/FreeCAD-NativeIFC#60 --- src/Mod/Arch/exportIFC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Arch/exportIFC.py b/src/Mod/Arch/exportIFC.py index e4e8dec5f6..92161a2b11 100644 --- a/src/Mod/Arch/exportIFC.py +++ b/src/Mod/Arch/exportIFC.py @@ -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