ifcopenshell.api.sequence.edit_work_calendar#

Module Contents#

class ifcopenshell.api.sequence.edit_work_calendar.Usecase(file, work_calendar=None, attributes=None)#

Edits the attributes of an IfcWorkCalendar

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

Parameters
Returns

None

Return type

None

Example:

# Let's create a new calendar.
calendar = ifcopenshell.api.run("sequence.add_work_calendar", model, name="5 Day Week")

# Let's give it a description
ifcopenshell.api.run("sequence.edit_work_calendar", model,
    work_calendar=calendar, attributes={"Description": "Monday to Friday 8 hour days"})
execute(self)#