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
work_schedule (ifcopenshell.entity_instance.entity_instance) – The IfcWorkSchedule 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 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)#