mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 15:08:51 +00:00
Minor fix
This commit is contained in:
@@ -258,7 +258,7 @@ class IfcStore:
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if element.is_a("IfcSurfaceStyle"):
|
if element and element.is_a("IfcSurfaceStyle"):
|
||||||
obj.BIMMaterialProperties.ifc_style_id = 0
|
obj.BIMMaterialProperties.ifc_style_id = 0
|
||||||
elif obj:
|
elif obj:
|
||||||
obj.BIMObjectProperties.ifc_definition_id = 0
|
obj.BIMObjectProperties.ifc_definition_id = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user