ifcopenshell.api.cost.edit_cost_schedule

Module Contents

ifcopenshell.api.cost.edit_cost_schedule.edit_cost_schedule(file, cost_schedule=None, attributes=None) None

Edits the attributes of an IfcCostSchedule

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

Parameters:
  • cost_schedule (ifcopenshell.entity_instance) – The IfcCostSchedule entity you want to edit

  • attributes (dict, optional) – a dictionary of attribute names and values.

Returns:

None

Return type:

None

Example:

schedule = ifcopenshell.api.run("cost.add_cost_schedule", model)
ifcopenshell.api.run("cost.edit_cost_schedule", model,
    cost_schedule=schedule, attributes={"Name": "Foo"})