Harmony
Scripting Interface Documentation
PaletteLocation Class Reference

The JavaScript class for defining the standard palette locations. Obtain it from Constants. More...

Properties

int ENVIRONMENT
 Represent the Environment location of the project. A palette created with this location would be stored in the environment folder. More...
 
int JOB
 Represent the Job location of the project. A palette created with this location would be stored in the job folder. More...
 
int SCENE
 Represent the Scene location of the project. A palette created with this location would be stored in the scene folder. More...
 
int ELEMENT
 Represent a location in an element of the project. More...
 
int EXTERNAL
 Represents a location outside the project. More...
 

Detailed Description

The JavaScript class for defining the standard palette locations. Obtain it from Constants.

var envPath = PaletteObjectManager.Constants.Location.ENVIRONMENT;
var jobPath = PaletteObjectManager.Constants.Location.JOB;
var scenePath = PaletteObjectManager.Constants.Location.SCENE;
var elementPath = PaletteObjectManager.Constants.Location.ELEMENT;
var externalPath = PaletteObjectManager.Constants.Location.EXTERNAL;

Property Documentation

◆ ELEMENT

int PaletteLocation::ELEMENT
read

Represent a location in an element of the project.

◆ ENVIRONMENT

int PaletteLocation::ENVIRONMENT
read

Represent the Environment location of the project. A palette created with this location would be stored in the environment folder.

◆ EXTERNAL

int PaletteLocation::EXTERNAL
read

Represents a location outside the project.

◆ JOB

int PaletteLocation::JOB
read

Represent the Job location of the project. A palette created with this location would be stored in the job folder.

◆ SCENE

int PaletteLocation::SCENE
read

Represent the Scene location of the project. A palette created with this location would be stored in the scene folder.