mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-19 11:43:53 +00:00
control.unassign_control to support batching
This commit is contained in:
@@ -358,7 +358,7 @@ class Csv2Ifc:
|
||||
)
|
||||
else:
|
||||
ifcopenshell.api.control.unassign_control(
|
||||
self.file, relating_control=existing_cost_rate, related_object=cost_item["ifc"]
|
||||
self.file, relating_control=existing_cost_rate, related_objects=[cost_item["ifc"]]
|
||||
)
|
||||
ifcopenshell.api.control.assign_control(
|
||||
self.file, relating_control=rate_cost_item, related_objects=[cost_item["ifc"]]
|
||||
|
||||
Reference in New Issue
Block a user