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:28 -05:00
committed by GitHub
parent e2552e3d46
commit 5757a62b6f
@@ -117,7 +117,7 @@ def is_object_array_applicable(self, obj):
element = tool.Ifc.get_entity(obj)
if not element:
return False
return element.IsDefinedBy[0].RelatingPropertyDefinition.Name == "BBIM_Array"
return ifcopenshell.util.element.get_pset(element, "BBIM_Array")