From 19127f3f7859e7c9b7d4887e30e1119b1ecefe7f Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Fri, 13 Dec 2019 12:29:26 -0300 Subject: [PATCH] Arch: Fixed wrong export of objects of undefined IFC type --- src/Mod/Arch/exportIFC.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/Arch/exportIFC.py b/src/Mod/Arch/exportIFC.py index 9c9b4767d2..a29096ba8f 100644 --- a/src/Mod/Arch/exportIFC.py +++ b/src/Mod/Arch/exportIFC.py @@ -1456,6 +1456,8 @@ def getIfcTypeFromObj(obj): ifctype = translationtable[ifctype] if ifctype == "VisGroup": ifctype = "Group" + if ifctype == "Undefined": + ifctype = "BuildingElementProxy" return "Ifc" + ifctype