From de1a46f68fb8f6f075d28497f04d6c4a5756d451 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Thu, 1 Oct 2020 10:30:26 +0200 Subject: [PATCH] Arch: Fixed group support in IFC export --- 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 6990e25330..df8a55a28d 100644 --- a/src/Mod/Arch/exportIFC.py +++ b/src/Mod/Arch/exportIFC.py @@ -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