We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bb157c commit 679c2beCopy full SHA for 679c2be
1 file changed
src/ifcblenderexport/blenderbim/bim/cut_ifc.py
@@ -652,6 +652,8 @@ def get_annotation(self):
652
for element in ifc_file.by_type("IfcElement"):
653
annotation_representation = None
654
box_representation = None
655
+ if not element.Representation:
656
+ continue # This can occur for aggregates
657
for representation in element.Representation.Representations:
658
if (
659
representation.ContextOfItems.ContextType == "Plan"
0 commit comments