mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 22:50:21 +00:00
spatial.assign_container - support batching #4474
This commit is contained in:
@@ -125,5 +125,5 @@ class TestGetContainer(NewFile):
|
||||
tool.Ifc.set(ifc)
|
||||
element = ifc.createIfcWall()
|
||||
container = ifc.createIfcBuildingStorey()
|
||||
ifcopenshell.api.run("spatial.assign_container", ifc, product=element, relating_structure=container)
|
||||
ifcopenshell.api.run("spatial.assign_container", ifc, products=[element], relating_structure=container)
|
||||
assert subject.get_container(element) == container
|
||||
|
||||
Reference in New Issue
Block a user