mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 22:33:33 +00:00
Minor fix
This commit is contained in:
@@ -197,7 +197,7 @@ class EnablePsetEditing(bpy.types.Operator):
|
|||||||
setattr(new, data_type, enum)
|
setattr(new, data_type, enum)
|
||||||
new.is_selected = enum in selected_enum_items
|
new.is_selected = enum in selected_enum_items
|
||||||
else:
|
else:
|
||||||
if prop.is_a() in ("IfcSimplePropertyTemplate", "IfcPropertySingleValue"):
|
if prop.is_a("IfcPropertySingleValue"):
|
||||||
value = prop.NominalValue.wrappedValue
|
value = prop.NominalValue.wrappedValue
|
||||||
elif prop.is_a("IfcPhysicalSimpleQuantity"):
|
elif prop.is_a("IfcPhysicalSimpleQuantity"):
|
||||||
value = prop[3]
|
value = prop[3]
|
||||||
|
|||||||
Reference in New Issue
Block a user