ifcopenshell.api.sequence.edit_work_plan#

Module Contents#

class ifcopenshell.api.sequence.edit_work_plan.Usecase(file, work_plan=None, attributes=None)#

Edits the attributes of an IfcWorkPlan

For more information about the attributes and data types of an IfcWorkPlan, consult the IFC documentation.

Parameters
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"})
execute(self)#