Arch: Fixed storey height bug in IFC export

This commit is contained in:
Yorik van Havre
2018-07-27 16:41:20 -03:00
parent 0576524144
commit ee154d9203

View File

@@ -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})