pymel.core.animation.timeEditorTracks

timeEditorTracks(*args, **kwargs)

Time Editor tracks commands

Flags:

Long Name / Short Name Argument Types Properties
activeClipWeight / acw time ../../../_images/query.gif
  Get the clip weight at the specified time.
activeClipWeightId / aci time ../../../_images/query.gif
  Get the clip ID carrying the active clip weight at the specified time.
addTrack / at int ../../../_images/edit.gif
  Add new track at the track index specified. Indices are 0-based. Specify -1 to add the track at the end.
allClips / ac bool ../../../_images/query.gif
  Return a list of clip IDs under the specified track.
allTracks / atc bool ../../../_images/query.gif
  Return a list of strings for all the immediate tracks for the given tracks node in the format tracksNode:trackIndex.
allTracksRecursive / atr bool ../../../_images/query.gif
  Return a list of strings for all the tracks for the given tracks node, or return a list of strings for all tracks of all tracks nodes in the format tracksNode:trackIndex. If the given root tracks node is from a composition, this command returns the tracks under that composition, including the tracks within groups that is under the same composition.
composition / cp bool ../../../_images/query.gif
  Return the composition the specified track belongs to.
path / pt unicode ../../../_images/edit.gif
  Full path of a track node or a track to operates on. For example: composition1|track1|group; composition1|track1. In query mode, this flag can accept a value.
plugIndex / pi int ../../../_images/query.gif ../../../_images/edit.gif
  Get the plug index of the specified track.
removeTrack / rt int ../../../_images/edit.gif
  Remove track at given index. It is a multi-use flag. For example: composition1|track1|group|track1;
removeTrackByPath / rtp unicode ../../../_images/edit.gif
  Remove track at given path. It is a multi-use flag.
reorderTrack / rot int, int ../../../_images/edit.gif
  Move the track relative to other tracks. The first argument is the track index (0-based). The second argument can be a positive or negative number to indicate the steps to move. Positive numbers move forward and negative numbers move backward.
resetMute / rm bool ../../../_images/create.gif
  Reset all the muted tracks in the active composition.
resetSolo / rs bool ../../../_images/create.gif
  Reset the soloing of all tracks on the active composition.
selectedTracks / st bool ../../../_images/query.gif
  Return a list of the indices for all the selected tracks for the given tracks node, or return a list of strings for all selected tracks of all tracks nodes in the format tracksNode:trackIndex.
trackGhost / tgh bool ../../../_images/query.gif ../../../_images/edit.gif
  Ghost all clips under track.
trackIndex / ti int ../../../_images/query.gif ../../../_images/edit.gif
  Specify the track index. This flag is used in conjunction with the other flags. In query mode, this flag can accept a value.
trackMuted / tm bool ../../../_images/query.gif ../../../_images/edit.gif
  Return whether the track is muted.
trackName / tn unicode ../../../_images/query.gif ../../../_images/edit.gif
  Display name of the track.
trackSolo / ts bool ../../../_images/query.gif ../../../_images/edit.gif
  Return whether the track is soloed.
trackType / tt int ../../../_images/query.gif ../../../_images/edit.gif
  Specify the track type. Can only be used together with -at/addTrack. Does not work by itself. In query mode, return the integer corresponding to the track type. 0: Animation Track (Default)1: Audio Track Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.timeEditorTracks