pymel.core.animation.timeEditorTracks¶
- timeEditorTracks(*args, **kwargs)¶
Time Editor tracks commands
Flags:
Long Name / Short Name Argument Types Properties activeClipWeight / acw time Get the clip weight at the specified time. activeClipWeightId / aci time Get the clip ID carrying the active clip weight at the specified time. addTrack / at int Add new track at the track index specified. Indices are 0-based. Specify -1 to add the track at the end. allClips / ac bool Return a list of clip IDs under the specified track. allTracks / atc bool Return a list of strings for all the immediate tracks for the given tracks node in the format tracksNode:trackIndex. allTracksRecursive / atr bool 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 Return the composition the specified track belongs to. path / pt unicode 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 Get the plug index of the specified track. removeTrack / rt int Remove track at given index. It is a multi-use flag. For example: composition1|track1|group|track1; removeTrackByPath / rtp unicode Remove track at given path. It is a multi-use flag. reorderTrack / rot int, int 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 Reset all the muted tracks in the active composition. resetSolo / rs bool Reset the soloing of all tracks on the active composition. selectedTracks / st bool 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 Ghost all clips under track. trackIndex / ti int 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 Return whether the track is muted. trackName / tn unicode Display name of the track. trackSolo / ts bool Return whether the track is soloed. trackType / tt int 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