ifcopenshell.api.cost.edit_cost_item#

Module Contents#

class ifcopenshell.api.cost.edit_cost_item.Usecase(file, cost_item=None, attributes=None)#

Edits the attributes of an IfcCostItem

For more information about the attributes and data types of an IfcCostItem, consult the IFC documentation.

Parameters
Returns

None

Return type

None

Example:

schedule = ifcopenshell.api.run("cost.add_cost_schedule", model)
item = ifcopenshell.api.run("cost.add_cost_item", model, cost_schedule=schedule)
ifcopenshell.api.run("cost.edit_cost_item", model, cost_item=item, attributes={"Name": "Foo"})
execute(self)#