OmniPlan projects contain tasks that are accomplished through the use of resources that are both humans and machinery. The relationship between tasks and resources are defined through assignments between a resource and a task.

The value of the properties of an Assignment instance determine the nature of the assignment relationship.

Instance Properties

Here are the properties of an instance of the Assignment class:

Instance Functions

The functions that can be run on an instance of the Assignment class:

Creating an Assignment

To create an instance of the Assignment class use the addAssignment(…) function of the Task class.

To create an object reference for a specific resource, use the resource(…) method of the Scenario class, as demonstrated in the following script example:

rsc = actual.resource("Margret Jensen") if(rsc){ task = actual.rootTask.addSubtask() task.addAssignment(rsc) }

This webpage is in the process of being developed. Any content may change and may not be accurate or complete at this time.