Methods
| InstancesLayerComp [] (index:
uint)
Get an element in the collection with the provided index.
| Parameter | Type | Description |
| index | uint | |
LayerComp add (name:
string[, comment:
string][, appearance:
bool=false][, position:
bool=false][, visibility:
bool=true])
Adds a layer comp.
| Parameter | Type | Description |
| name | string | The name of the layer comp. |
| comment | string | The description of the layer comp. (Optional) |
| appearance | bool | If true, uses the layer appearance or style for this layer comp. (default: false) (Optional) |
| position | bool | If true, uses the layer position for this layer comp. (default: false) (Optional) |
| visibility | bool | If true, uses the layer visibility for this layer comp. (default: true) (Optional) |
LayerComp getByName (name:
string)
Get the first element in the collection with the provided name.
| Parameter | Type | Description |
| name | string | |
|