Go to: Synopsis. Return value. Keywords. Related. Flags. MEL examples.
timeEditorTracks [-activeClipWeight time] [-activeClipWeightId time] [-addTrack int] [-allClips] [-allTracks] [-allTracksRecursive] [-composition] [-path string] [-plugIndex int] [-removeTrack int] [-removeTrackByPath string] [-reorderTrack int int] [-resetMute] [-resetSolo] [-selectedTracks] [-trackGhost boolean] [-trackIndex int] [-trackMuted boolean] [-trackName string] [-trackSolo boolean] [-trackType int]
timeEditorTracks is undoable, queryable, and editable.
Time Editor tracks commandsInt | In edit mode, return the newly created Track index. |
In query mode, return type is based on queried flag.
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-activeClipWeight(-acw)
|
time
|
|||
|
||||
-activeClipWeightId(-aci)
|
time
|
|||
|
||||
-addTrack(-at)
|
int
|
|||
|
||||
-allClips(-ac)
|
|
|||
|
||||
-allTracks(-atc)
|
|
|||
|
||||
-allTracksRecursive(-atr)
|
|
|||
|
||||
-composition(-cp)
|
|
|||
|
||||
-path(-pt)
|
string
|
|||
|
||||
-plugIndex(-pi)
|
int
|
|||
|
||||
-removeTrack(-rt)
|
int
|
|||
|
||||
-removeTrackByPath(-rtp)
|
string
|
|||
|
||||
-reorderTrack(-rot)
|
int int
|
|||
|
||||
-resetMute(-rm)
|
|
|||
|
||||
-resetSolo(-rs)
|
|
|||
|
||||
-selectedTracks(-st)
|
|
|||
|
||||
-trackGhost(-tgh)
|
boolean
|
|||
|
||||
-trackIndex(-ti)
|
int
|
|||
|
||||
-trackMuted(-tm)
|
boolean
|
|||
|
||||
-trackName(-tn)
|
string
|
|||
|
||||
-trackSolo(-ts)
|
boolean
|
|||
|
||||
-trackType(-tt)
|
int
|
|||
|
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. |
// Insert a track at the end // timeEditorTracks -e -addTrack -1 container1_tracks; // Insert a track at the end by path, inside a composition // timeEditorTracks -e -addTrack -1 -path "composition1"; // Insert a track at the end by path, inside a group clip // timeEditorTracks -e -addTrack -1 -path "composition1|track1|groupClip"; // Remove the track from "container1_tracks" // timeEditorTracks -e -removeTrack 1 container1_tracks; // Remove the tracks by paths // timeEditorTracks -e -removeTrackByPath "composition1|track2" -removeTrackByPath "composition1|track1|group|track3" // Move track 0 forward 1 siblings // timeEditorTracks -e -reorderTrack 0 1 container1_tracks; // Set the track name // timeEditorTracks -e -trackName "Test" -trackIndex 0 container1_tracks; // Set the track name by path // timeEditorTracks -e -trackName "Test" -path "composition1|track1"; // Mute the track // timeEditorTracks -e -trackMuted true -trackIndex 0 container1_tracks;