enable an object to take part in an object type decomposition #3592

This commit is contained in:
Sigma Dimensions (Yass)
2023-08-16 16:08:27 +01:00
parent 297a513d21
commit 6c0e528dd2
+1 -1
View File
@@ -28,7 +28,7 @@ class Aggregate(blenderbim.core.tool.Aggregate):
related_object = tool.Ifc.get_entity(related_obj)
if not relating_object or not related_object:
return False
if relating_object.is_a("IfcElement") and related_object.is_a("IfcElement"):
if (relating_object.is_a("IfcElement") or relating_object.is_a("IfcElementType")) and related_object.is_a("IfcElement"):
if relating_obj.data:
return False
return True