From 7e20c0c01cbcc743410b2be4fb4de6b03af99ddf Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Tue, 10 Jun 2014 22:51:04 -0300 Subject: [PATCH] Arch: Small cosmetic fix --- src/Mod/Arch/importIFC.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Mod/Arch/importIFC.py b/src/Mod/Arch/importIFC.py index 3d215e78f..6c65b4e36 100644 --- a/src/Mod/Arch/importIFC.py +++ b/src/Mod/Arch/importIFC.py @@ -995,6 +995,8 @@ def export(exportList,filename): ifctype = "Footing" elif ifctype == "Rebar": ifctype = "ReinforcingBar" + elif ifctype == "Part": + ifctype = "BuildingElementProxy" if DEBUG: print "Adding " + obj.Label + " as Ifc" + ifctype @@ -1072,6 +1074,8 @@ def export(exportList,filename): extra = [obj.Width.Value*scaling, obj.Height.Value*scaling] elif otype == "Space": extra = ["ELEMENT","INTERNAL",Arch.getIfcElevation(obj)] + elif otype == "Part": + extra = ["ELEMENT"] if not ifctype in supportedIfcTypes: if DEBUG: print " Type ",ifctype," is not supported yet. Exporting as IfcBuildingElementProxy instead" ifctype = "IfcBuildingElementProxy"