mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-18 03:19:53 +00:00
nest.assign_object - support batching #4474
This commit is contained in:
@@ -68,6 +68,6 @@ class Usecase:
|
||||
)
|
||||
elif self.settings["cost_item"]:
|
||||
ifcopenshell.api.run(
|
||||
"nest.assign_object", self.file, related_object=cost_item, relating_object=self.settings["cost_item"]
|
||||
"nest.assign_object", self.file, related_objects=[cost_item], relating_object=self.settings["cost_item"]
|
||||
)
|
||||
return cost_item
|
||||
|
||||
Reference in New Issue
Block a user