diff --git a/src/ifcopenshell-python/ifcopenshell/util/element.py b/src/ifcopenshell-python/ifcopenshell/util/element.py index f8b8791787..e93a22907b 100644 --- a/src/ifcopenshell-python/ifcopenshell/util/element.py +++ b/src/ifcopenshell-python/ifcopenshell/util/element.py @@ -512,6 +512,9 @@ def get_shape_aspects(element: ifcopenshell.entity_instance) -> list[ifcopenshel if (representation := getattr(element, "Representation", ...)) != ...: return representation.HasShapeAspects + if element.file.schema == "IFC2X3": + return [] + # IfcTypeProduct shape_aspects = [] for repersentation_map in element.RepresentationMaps: