/
getLayers

getLayers

Description

Returns the array of layer names of the active clip.

An error is generated if there is no clip in the scene.

Functional area

NLE

Command syntax

Syntax

getLayers

Arguments

None

Flags

None

Return value

string array

Examples

// Print the name of the active clip
string $clip = `getActiveClip`;
print $clip;
 
// Print the layers of the active clip
string $layers [];
$layers = `getLayers`;
print $layers;

Additional information

Related commands