From 47da4ef3aecd2550715e6c1fe8d642e30587d88f Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Wed, 18 Jun 2025 16:46:19 +0500 Subject: [PATCH] Fix overlook in 67b539aba --- .../ifcopenshell/api/geometry/remove_representation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/ifcopenshell/api/geometry/remove_representation.py b/src/ifcopenshell-python/ifcopenshell/api/geometry/remove_representation.py index 3e31c8de6f..6262060fa7 100644 --- a/src/ifcopenshell-python/ifcopenshell/api/geometry/remove_representation.py +++ b/src/ifcopenshell-python/ifcopenshell/api/geometry/remove_representation.py @@ -51,7 +51,7 @@ def remove_representation( for s in subelement.LayerAssignment if not is_ifc2x3 else subelement.LayerAssignments: presentation_layer_assignments_items.add(s) # IfcTessellatedFaceSet inverses - if subelement.is_a() == "IfcTessellatedFaceSet": + if subelement.is_a("IfcTessellatedFaceSet"): textures.update(subelement.HasTextures) colours.update(subelement.HasColours) elif subelement.is_a("IfcRepresentation"):