ifcopenshell.api.cost.remove_cost_schedule

Module Contents

ifcopenshell.api.cost.remove_cost_schedule.remove_cost_schedule(file: ifcopenshell.file, cost_schedule: ifcopenshell.entity_instance) None

Removes a cost schedule

All associated relationships with the cost schedule are also removed, including all cost items.

Parameters:

cost_schedule (ifcopenshell.entity_instance) – The IfcCostSchedule entity you want to remove

Returns:

None

Return type:

None

Example:

schedule = ifcopenshell.api.cost.add_cost_schedule(model)
item = ifcopenshell.api.cost.add_cost_item(model, cost_schedule=schedule)
ifcopenshell.api.cost.remove_cost_schedule(model, cost_schedule=schedule)