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:
Ryan Schultz
2024-05-27 16:09:15 -05:00
committed by GitHub
parent 274b12e5a0
commit 1b91540c96
@@ -100,8 +100,8 @@ def update_relating_array_from_object(self, context):
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
try:
element.IsDefinedBy[0].RelatingPropertyDefinition.HasProperties[1].NominalValue.wrappedValue
except AttributeError:
pset['Data']
except Exception:
pass
else:
bpy.ops.bim.enable_editing_array(item=self.is_editing)