mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 17:57:02 +00:00
Update src/blenderbim/blenderbim/bim/module/model/prop.py
Co-authored-by: Bruno Perdigão <57102715+brunoperdigao@users.noreply.github.com>
This commit is contained in:
@@ -100,8 +100,8 @@ def update_relating_array_from_object(self, context):
|
|||||||
parent_of_relating_array_object = tool.Ifc.get_object(parent_element)
|
parent_of_relating_array_object = tool.Ifc.get_object(parent_element)
|
||||||
#The following error handling is used to break out when an array parent is selected
|
#The following error handling is used to break out when an array parent is selected
|
||||||
try:
|
try:
|
||||||
element.IsDefinedBy[0].RelatingPropertyDefinition.HasProperties[1].NominalValue.wrappedValue
|
pset['Data']
|
||||||
except AttributeError:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
bpy.ops.bim.enable_editing_array(item=self.is_editing)
|
bpy.ops.bim.enable_editing_array(item=self.is_editing)
|
||||||
|
|||||||
Reference in New Issue
Block a user