Syntax

MMpy.Schedule

Description

This object represents an open schedule project. Use methods of this object to operate on the schedule project.

Scheduler project consists from a number of objects, such as tasks, materials, calendars, resources and so on. Modifications to objects' state are performed in two steps. First, desired modifications are to be prepared using appropriate methods in schedule project objects. These methods return SchedulerCommand object which represent a scheduled modification. SchedulerCommand objects may be combined to create complex commands.

Once all modifications are scheduled, they need to be applied to the project. This is done with MMpy.Schedule.execute() method. This method may return False to indicate that modifications could not be applied. This may happen if applying the notifications would put scheduler project in an invalid state. Please note that either all or none of the scheduled modifications are applied.

Resource ID

IDPH_SCHEDULE