From 4cb6fc05d61fa730f76ca04d12eb1504031811cd 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