ifcopenshell.api.sequence.edit_work_plan
¶
Module Contents¶
- ifcopenshell.api.sequence.edit_work_plan.edit_work_plan(file, work_plan=None, attributes=None) None ¶
Edits the attributes of an IfcWorkPlan
For more information about the attributes and data types of an IfcWorkPlan, consult the IFC documentation.
- Parameters:
work_plan (ifcopenshell.entity_instance) – The IfcWorkPlan entity you want to edit
attributes (dict, optional) – a dictionary of attribute names and values.
- 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") # Let's give it a description ifcopenshell.api.run("sequence.edit_work_plan", model, work_plan=work_plan, attributes={"Description": "Construction of phase 1"})