From ef56c6ce7e6e0ceb28a67d4d004f2f9b2073294b Mon Sep 17 00:00:00 2001 From: taylor Date: Thu, 5 Oct 2023 20:12:06 +1300 Subject: [PATCH] Fixed model reference --- .../ifcopenshell/api/sequence/assign_product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/ifcopenshell/api/sequence/assign_product.py b/src/ifcopenshell-python/ifcopenshell/api/sequence/assign_product.py index 5e4393457f..d8003227d1 100644 --- a/src/ifcopenshell-python/ifcopenshell/api/sequence/assign_product.py +++ b/src/ifcopenshell-python/ifcopenshell/api/sequence/assign_product.py @@ -61,7 +61,7 @@ class Usecase: wall = ifcopenshell.api.run("root.create_entity", model, ifc_class="IfcWall") # Let's construct that wall! - ifcopenshell.api.run("sequence.assign_product", relating_product=wall, related_object=task) + ifcopenshell.api.run("sequence.assign_product", model, relating_product=wall, related_object=task) """ self.file = file self.settings = {