mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 09:32:37 +00:00
Note on not allowing aggregates with representation #3973
This commit is contained in:
@@ -29,7 +29,7 @@ class Aggregate(blenderbim.core.tool.Aggregate):
|
|||||||
if not relating_object or not related_object:
|
if not relating_object or not related_object:
|
||||||
return False
|
return False
|
||||||
if (relating_object.is_a("IfcElement") or relating_object.is_a("IfcElementType")) 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:
|
if relating_obj.data: # See #3973
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
if tool.Ifc.get_schema() == "IFC2X3":
|
if tool.Ifc.get_schema() == "IFC2X3":
|
||||||
|
|||||||
Reference in New Issue
Block a user