From 3ea7e28b1210de91b6aa7ea429f4f305f8cb8d96 Mon Sep 17 00:00:00 2001 From: arun Date: Mon, 8 May 2023 20:36:33 +0530 Subject: [PATCH] corrected get_extrusions function --- src/ifcopenshell-python/ifcopenshell/util/shape.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/ifcopenshell/util/shape.py b/src/ifcopenshell-python/ifcopenshell/util/shape.py index 3e12c482f5..de11e91f1a 100644 --- a/src/ifcopenshell-python/ifcopenshell/util/shape.py +++ b/src/ifcopenshell-python/ifcopenshell/util/shape.py @@ -298,7 +298,7 @@ def get_extrusions(element): for item in representation.Items: while True: if item.is_a("IfcExtrudedAreaSolid"): - extrusion.append(item) + extrusions.append(item) break elif item.is_a("IfcBooleanResult"): item = item.FirstOperand