Rename function to get relating object

This commit is contained in:
Gorgious
2022-01-30 17:33:21 +01:00
parent 7054f44cc9
commit 5248627a41
12 changed files with 18 additions and 16 deletions
@@ -118,4 +118,4 @@ class TestAssignContainer(test.bootstrap.IFC4):
subelement = ifcopenshell.api.run("root.create_entity", self.file, ifc_class="IfcWall")
ifcopenshell.api.run("aggregate.assign_object", self.file, product=subelement, relating_object=aggregate)
ifcopenshell.api.run("spatial.assign_container", self.file, product=subelement, relating_structure=element)
assert not ifcopenshell.util.element.get_aggregate(subelement)
assert not ifcopenshell.util.element.get_relating_object(subelement)