ifcopenshell.api.sequence.copy_work_schedule

Module Contents

ifcopenshell.api.sequence.copy_work_schedule.copy_work_schedule(file: ifcopenshell.file, work_schedule: ifcopenshell.entity_instance) ifcopenshell.entity_instance

Copy a work schedule.

Parameters:

work_schedule – IfcWorkSchedule to copy.

Returns:

The duplicated IfcWorkSchedule entity.

Example:

work_plan = ifcopenshell.api.sequence.add_work_plan(model, name="Construction")
schedule = ifcopenshell.api.sequence.add_work_schedule(model,
    name="Construction Schedule A", work_plan=work_plan)
new_schedule = ifcopenshell.api.sequence.copy_work_schedule(model, schedule)