mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 02:07:36 +00:00
small docs fix
This commit is contained in:
@@ -69,7 +69,7 @@ def add_cost_item_quantity(
|
|||||||
schedule = ifcopenshell.api.run("cost.add_cost_schedule", model)
|
schedule = ifcopenshell.api.run("cost.add_cost_schedule", model)
|
||||||
item = ifcopenshell.api.run("cost.add_cost_item", model, cost_schedule=schedule)
|
item = ifcopenshell.api.run("cost.add_cost_item", model, cost_schedule=schedule)
|
||||||
ifcopenshell.api.run("control.assign_control", model,
|
ifcopenshell.api.run("control.assign_control", model,
|
||||||
relating_control=cost_item, related_object=chair)
|
relating_control=item, related_object=chair)
|
||||||
|
|
||||||
# Let's assume we want to count the amount of chairs to calculate our cost item
|
# Let's assume we want to count the amount of chairs to calculate our cost item
|
||||||
# Because this is an IfcQuantityCount the count will be automatically set to "1" chair
|
# Because this is an IfcQuantityCount the count will be automatically set to "1" chair
|
||||||
|
|||||||
Reference in New Issue
Block a user