ifcopenshell.api.cost.remove_cost_schedule#

Module Contents#

class ifcopenshell.api.cost.remove_cost_schedule.Usecase(file, cost_schedule=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.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)
execute(self)#