BIM: NativeIFC 2D support - small fixes
This commit is contained in:
committed by
Yorik van Havre
parent
94ccb830ca
commit
fcc4eb1370
@@ -214,7 +214,7 @@ class ifc_object:
|
||||
else:
|
||||
print("DEBUG: unknown dimension curve type:",sub)
|
||||
elif attribute in ["DisplayLength","DisplayHeight","Depth"]:
|
||||
l = w = h = 1000
|
||||
l = w = h = 1000.0
|
||||
if obj.ViewObject:
|
||||
if obj.ViewObject.DisplayLength.Value:
|
||||
l = ifc_export.get_scaled_value(obj.ViewObject.DisplayLength.Value, ifcfile)
|
||||
|
||||
Reference in New Issue
Block a user