ifcopenshell.api.sequence.remove_work_plan

Module Contents

ifcopenshell.api.sequence.remove_work_plan.remove_work_plan(file, work_plan=None) None

Removes a work plan

Note that schedules that are grouped under the work plan are not removed.

Parameters:

work_plan (ifcopenshell.entity_instance) – The IfcWorkPlan to remove.

Returns:

None

Return type:

None

Example:

# This will hold all our construction schedules
work_plan = ifcopenshell.api.run("sequence.add_work_plan", model, name="Construction")

# And remove it immediately
ifcopenshell.api.run("sequence.remove_work_plan", model, work_plan=work_plan)