Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Resource

The Resource class represents the information about a human, capital or production resource that can be assigned to a task. The constructors are not accessible from scripts.

Fields

FieldTypeDescription
resourceIdintegerRead only. An internal integer value assigned to each resource, unique in each document.
namestringThe full name of the resource.
unitsnumberA floating point value indication the amount of time the resource is used on the resource. For example a value of 0.5 for a resource with an 8 hour work day only works 4 hours per day on the project. Can be greater than 1.0 to represent multiple equivalent resources; e.g., “technical writing staff.” Defaults to 1.0.
abbreviationstringAn abbreviation for the resource used to reduce display size.
utilizationnumberSame as units. Deprecated — may be removed in a future release.
calendarWorkweekThe calendar being used by this resource. Defaults to the standard calendar.