ifcopenshell.api.cost.remove_cost_schedule

Module Contents

ifcopenshell.api.cost.remove_cost_schedule.remove_cost_schedule(file, cost_schedule=None) 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.run("cost.add_cost_schedule", model)
item = ifcopenshell.api.run("cost.add_cost_item", model, cost_schedule=schedule)
ifcopenshell.api.run("cost.remove_cost_schedule", model, cost_schedule=schedule)