From f1037de14dc864b7aa7c49b0ad4e288154df0722 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Thu, 25 Apr 2024 17:45:14 +0500 Subject: [PATCH] small fix for 60a70f523 --- src/ifcopenshell-python/ifcopenshell/util/placement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/ifcopenshell/util/placement.py b/src/ifcopenshell-python/ifcopenshell/util/placement.py index abbffc5b96..19fd3835f8 100644 --- a/src/ifcopenshell-python/ifcopenshell/util/placement.py +++ b/src/ifcopenshell-python/ifcopenshell/util/placement.py @@ -69,7 +69,7 @@ def get_axis2placement(placement: ifcopenshell.entity_instance) -> MatrixType: if coordinates := getattr(location, "Coordinates", None): o = coordinates else: - ifc_class = location.is_a("IfcPointByDistanceExpression") + ifc_class = location.is_a() print( f'WARNING. Placement location of type "{ifc_class}" ' f'is not yet supported and placement {placement} may be placed incorrectly.'