ifcopenshell.api.sequence.edit_work_schedule#

Module Contents#

class ifcopenshell.api.sequence.edit_work_schedule.Usecase(file, work_schedule=None, attributes=None)#

Edits the attributes of an IfcWorkSchedule

For more information about the attributes and data types of an IfcWorkSchedule, 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 imagine this is one of our schedules in our work plan.
schedule = ifcopenshell.api.run("sequence.add_work_schedule", model,
    name="Construction Schedule A", work_plan=work_plan)

# Let's give it a description
ifcopenshell.api.run("sequence.edit_work_schedule", model,
    work_schedule=work_schedule, attributes={"Description": "3 crane design option"})
execute(self)#