From a01d045498135bb2c497bdbb0ff9e9704492d988 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