nest.assign_object to support ifc2x3

This commit is contained in:
Andrej730
2024-04-10 15:54:04 +05:00
parent 239ab5b587
commit 81ff9c168e
5 changed files with 45 additions and 18 deletions
@@ -49,3 +49,6 @@ class TestUnassignObject(test.bootstrap.IFC4):
ifcopenshell.api.run("nest.assign_object", self.file, related_objects=[subelement], relating_object=element)
ifcopenshell.api.run("nest.unassign_object", self.file, related_objects=[subelement])
assert len(self.file.by_type("IfcRelNests")) == 0
class TestUnassignObjectIFC2X3(test.bootstrap.IFC2X3, TestUnassignObject):
pass