ifcopenshell.api.sequence.remove_work_plan
¶
Module Contents¶
- ifcopenshell.api.sequence.remove_work_plan.remove_work_plan(file: ifcopenshell.file, work_plan: ifcopenshell.entity_instance) 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.sequence.add_work_plan(model, name="Construction") # And remove it immediately ifcopenshell.api.sequence.remove_work_plan(model, work_plan=work_plan)