ifcopenshell.api.sequence.edit_work_plan

Module Contents

ifcopenshell.api.sequence.edit_work_plan.edit_work_plan(file: ifcopenshell.file, work_plan: ifcopenshell.entity_instance, attributes: dict[str, Any]) 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) – a dictionary of attribute names and values.

Returns:

None

Return type:

None

Example:

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

# Let's give it a description
ifcopenshell.api.sequence.edit_work_plan(model,
    work_plan=work_plan, attributes={"Description": "Construction of phase 1"})