Go to: Synopsis. Return value. Keywords.
Flags. MEL
examples.
shotTrack [-insertTrack uint] [-lock boolean] [-mute
boolean] [-numTracks
uint] [-removeEmptyTracks] [-removeTrack uint] [-solo boolean] [-swapTracks uint uint]
shotTrack is undoable, queryable, and editable.
This command is used for inserting and removing tracks related to
the shots displayed in the Sequencer. It can also be used to modify
the track state, for example, to lock or mute a track.
None
In query mode, return type is based on queried flag.
shot, sequencer, track
insertTrack, lock, mute, numTracks, removeEmptyTracks, removeTrack, solo,
swapTracks
Long name (short name) |
Argument types |
Properties |
-swapTracks(-st) |
uint uint |
|
|
This flag is used to swap the contents of two specified
tracks. |
|
-insertTrack(-it) |
uint |
|
|
This flag is used to insert a new empty track at the track
index specified. |
|
-removeTrack(-rt) |
uint |
|
|
This flag is used to remove the track with the specified index.
The track must have no clips on it before it can be removed. |
|
-removeEmptyTracks(-ret) |
|
|
|
This flag is used to remove all tracks that have no clips. |
|
-lock(-l) |
boolean |
|
|
This flag specifies whether shots on a track are to be locked
or not. |
|
-solo(-so) |
boolean |
|
|
This flag specifies whether shots on a track are to be soloed
or not. |
|
-mute(-m) |
boolean |
|
|
This flag specifies whether shots on a track are to be muted or
not. |
|
-numTracks(-nt) |
uint |
|
|
To query the number of tracks |
|
Flag can appear in Create mode of
command |
Flag can appear in Edit mode of command |
Flag can appear in Query mode of command |
Flag can be used more than once in a
command. |
// Move the shot named "shot2" to track 3
//
shotTrack -track 3 shot2;
// Lock the track containing the shot named "shot1"
//
shotTrack -lock 1 shot1;
// Remove any empty tracks
//
shotTrack -removeEmptyTracks;
// query the track index of the shot named "shot1"
//
shotTrack -q -track shot1;