From 9a840174d2fbb2aa78283bb052b7e9db983e97e7 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sun, 20 Nov 2022 14:38:17 +0100 Subject: [PATCH] Fix test case --- .../ifcopenshell/api/spatial/assign_container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/ifcopenshell/api/spatial/assign_container.py b/src/ifcopenshell-python/ifcopenshell/api/spatial/assign_container.py index 6daecafa29..4a27619176 100644 --- a/src/ifcopenshell-python/ifcopenshell/api/spatial/assign_container.py +++ b/src/ifcopenshell-python/ifcopenshell/api/spatial/assign_container.py @@ -41,7 +41,7 @@ class Usecase: aggregate = ifcopenshell.util.element.get_aggregate(self.settings["product"]) if aggregate: ifcopenshell.api.run( - "aggregate.unassign_object", self.file, relating_object=aggregate, product=self.settings["product"] + "aggregate.unassign_object", self.file, product=self.settings["product"] ) if contained_in_structure: