diff --git a/src/ifcblenderexport/blenderbim/bim/cut_ifc.py b/src/ifcblenderexport/blenderbim/bim/cut_ifc.py index 37d79afe6a..f7e86f81bc 100644 --- a/src/ifcblenderexport/blenderbim/bim/cut_ifc.py +++ b/src/ifcblenderexport/blenderbim/bim/cut_ifc.py @@ -652,6 +652,8 @@ class IfcCutter: for element in ifc_file.by_type("IfcElement"): annotation_representation = None box_representation = None + if not element.Representation: + continue # This can occur for aggregates for representation in element.Representation.Representations: if ( representation.ContextOfItems.ContextType == "Plan"