/
removeLayer
removeLayer
Description
Remove indicated layer from the active clip. The error will be generated if there is no clip on the scene.
Functional area
NLE
Command syntax
Syntax
removeLayer "layerName"
|
Arguments
Name | Type | Required | Comments |
---|---|---|---|
layerName
|
string | yes | The name of the layer to remove |
Flags
None
Return value
void
Examples
// Print the name of the active clip string $clip = `getActiveClip`; print $clip; // Add new layer string $name = "new layer"; addLayer $name; // Print all layers string $layers []; $layers = `getLayers`; print $layers; // Remove layer removeLayer $name; // Print all layers $layers = `getLayers`; print $layers;
Additional information
Related commands
, multiple selections available,