From ee154d9203292aae4e8e3c18ef240e4b20b6b93b Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Fri, 27 Jul 2018 16:41:20 -0300 Subject: [PATCH] Arch: Fixed storey height bug in IFC export --- src/Mod/Arch/importIFC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Arch/importIFC.py b/src/Mod/Arch/importIFC.py index 63b2bf1b8d46..a0fc75e491eb 100644 --- a/src/Mod/Arch/importIFC.py +++ b/src/Mod/Arch/importIFC.py @@ -1609,7 +1609,7 @@ def export(exportList,filename): kwargs.update({"CompositionType": "ELEMENT"}) elif ifctype == "IfcBuildingStorey": kwargs.update({"CompositionType": "ELEMENT", - "Elevation": obj.Placement.Base.z}) + "Elevation": obj.Placement.Base.z/1000.0}) elif ifctype == "IfcReinforcingBar": kwargs.update({"NominalDiameter": obj.Diameter.Value, "BarLength": obj.Length.Value})