mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
See #6570. Small fix
This commit is contained in:
committed by
Massimo Fabbro
parent
12774607f3
commit
482512085c
@@ -199,7 +199,7 @@ def assign_cost_value(
|
||||
cost_rate: ifcopenshell.entity_instance
|
||||
) -> None:
|
||||
ifc.run("cost.assign_cost_value", cost_item=cost_item, cost_rate=cost_rate)
|
||||
existing_cost_rate = cost.get_cost_item_rate_assignment(cost_item)
|
||||
existing_cost_rate = cost.get_assigned_rate_cost_item(cost_item)
|
||||
if existing_cost_rate is None:
|
||||
ifc.run("control.assign_control", relating_control=cost_rate, related_object=cost_item)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user