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 93031f0fc0
commit 6d1b468166
+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