clipSchedule is undoable, queryable, and editable.
This command is used to create, edit and query clips and blends in the Trax editor. It operates on the clipScheduler node attached to the character. In query mode, if no flags are specified, returns an array of strings in this form:
(clipName,clipIndex,clipStart,clipSourceStart,clipSourceEnd,clipScale,clipPreCycle,clipPostCycle,clipHold)
In query mode, return type is based on queried flag.
Long name (short name) |
Argument types |
Properties |
-clipIndex(-ci)
|
uint
|
|
|
Specify the index of the clip to schedule. In query mode, returns
an array of strings in this form:
(clipName,index,start,sourceStart,sourceEnd,scale,preCycle,postCycle)
In query mode, this flag can accept a value.
|
|
-start(-s)
|
time
|
|
|
Specify the placement of the start of the clip
|
|
-sourceStart(-ss)
|
time
|
|
|
Specify where to start in the source clip's animation curves
|
|
-sourceEnd(-se)
|
time
|
|
|
Specify where to end in the source clip's animation curves
|
|
-preCycle(-prc)
|
float
|
|
|
Specify the number of times to repeat the clip before its normal start.
|
|
-postCycle(-poc)
|
float
|
|
|
Specify the number of times to repeat the clip after its normal end.
|
|
-hold(-ph)
|
time
|
|
|
Specify how long to hold the last value of the clip after its normal or cycled end.
|
|
-scale(-sc)
|
float
|
|
|
Specify the amount to scale the clip. Values must be greater than 0.
|
|
-absolute(-abs)
|
boolean
|
|
|
This flag is now deprecated. Use aa/allAbsolute, ar/allRelative, ra/rotationsAbsolute, or da/defaultAbsolute instead. This flag controls whether the clip follows its keyframe values or whether they are offset by a value to maintain a smooth path.
|
|
-absoluteRotations(-abr)
|
boolean
|
|
|
This flag is now deprecated. Use aa/allAbsolute, ar/allRelative, ra/rotationsAbsolute, or da/defaultAbsolute instead. If true, this overrides the abs/absolute flag so that rotation channels are always calculated with absolute offsets. This allows you to have absolute offsets on rotations and relative offsets on all other channels.
|
|
-allAbsolute(-aa)
|
|
|
|
Set all channels to be calculated with absolute offsets. This flag cannot be used in conjunction with the ar/allRelative, ra/rotationsAbsolute or da/defaultAbsolute flags.
|
|
-allRelative(-ar)
|
|
|
|
Set all channels to be calculated with relative offsets. This flag cannot be used in conjunction with the aa/allAbsolute, ra/rotationsAbsolute or da/defaultAbsolute flags.
|
|
-rotationsAbsolute(-ra)
|
|
|
|
Set all channels except rotations to be calculated with relative offsets. Rotation channels will be calculated with absolute offsets. This flag cannot be used in conjunction with the aa/allAbsolute, ar/allRelative or da/defaultAbsolute flags.
|
|
-defaultAbsolute(-da)
|
|
|
|
Sets all top-level channels except rotations in the clip to relative, and the remaining channels to absolute. This is the default during clip creation if no offset flag is specified. This flag cannot be used in conjunction with the aa/allAbsolute, ar/allRelative, or ra/rotationsAbsolute flags.
|
|
-instance(-in)
|
string
|
|
|
Create an instanced copy of the named clip. An instanced clip is one that is linked to an original clip. Thus, changes to the animation curve of the original curve will also modify all instanced clips. The name of the instanced clip is returned
as a string.
|
|
-remove(-rm)
|
|
|
|
This flag is used to remove a clip from the timeline. It must be used in conjunction with the ci/clipIndex flag. The specified clip will be removed from the timeline, but will still exist in the library and any instanced clips will remain in the timeline. To permanently remove a clip from the scene, the clip command should be used instead.
|
|
-enable(-en)
|
boolean
|
|
|
This flag is used to enable or disable a clip. It must be used in conjunction with the ci/clipIndex flag. The specified clip will be enabled or disabled.
|
|
-blend(-b)
|
uint uint
|
|
|
This flag is used to blend two clips, whose indices are provided as flag arguments.
|
|
-blendUsingNode(-bun)
|
string
|
|
|
This flag is used if you want to blend using an existing blend node. It is used in conjunction with the blend flag. The blend flag specifies the clip indices for the blend. The name of an existing animBlend node should be supplied supplied as an argument for the blendUsingNode flag.
|
|
-blendNode(-bn)
|
uint uint
|
|
|
This query only flag list all of the blend nodes associated with the blend defined by the two clip indices. This flag returns a string array.
In query mode, this flag can accept a value.
|
|
-removeBlend(-rb)
|
uint uint
|
|
|
This flag is used to remove an existing blend between two clips, whose indices are provided as flag arguments.
|
|
-character(-ch)
|
|
|
|
This flag is used to query which characters this scheduler controls. It returns an array of strings.
|
|
-listCurves(-lc)
|
|
|
|
This flag is used to list the animation curves associated with a clip. It should be used in conjunction with the clipIndex flag, which specifies the clip of interest.
|
|
-name(-n)
|
string
|
|
|
This flag is used to query the name of the clip node associated with the specified clip index, or to specify the name of the instanced clip during instancing.
In query mode, this flag can accept a value.
|
|
-sourceClipName(-scn)
|
|
|
|
This flag is used to query the name of the source clip node associated with the specified clip index.
|
|
-weight(-w)
|
float
|
|
|
This flag is used in to set or query the weight of the clip associated with the specified clip index.
|
|
-weightStyle(-ws)
|
uint
|
|
|
This flag is used to set or query the weightStyle attribute of the clip associated with the specified clip index.
|
|
-lock(-l)
|
boolean
|
|
|
This flag specifies whether clips on a track are to be locked or not.
Must be used in conjuction with the track flag.
|
|
-solo(-so)
|
boolean
|
|
|
This flag specifies whether clips on a track are to be soloed or not.
Must be used in conjuction with the track flag.
|
|
-mute(-m)
|
boolean
|
|
|
This flag specifies whether clips on a track are to be muted or not.
Must be used in conjuction with the track flag.
|
|
-track(-t)
|
uint
|
|
|
Specify the track to operate on. For example, which track to place
a clip on, which track to mute/lock/solo. In query mode, it may be used
in conjuction with the clipIndex flag to return the track number of a clip,
where track 1 is the first track of the character.
In query mode, this flag can accept a value.
|
|
-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.
|
|
-shiftIndex(-shi)
|
uint
|
|
|
This flag allows multiple clips to be shifted by a certain number of tracks
and works in conjunction with the shiftAmount flag. The flag specifies the
index of the clip to shift. This flag can be used multiple times on the command
line to specify a number of clips to shift.
|
|
-shift(-sh)
|
int
|
|
|
This flag allows multiple clips to be shifted by a certain number of tracks
and works in conjunction with the shiftIndex flag. The flag specifies the
number of tracks to shift the associated clips. Positive values shift the
clips down an negative values shift the clips up.
|
|
-listPairs(-lp)
|
|
|
|
This query only flag returns a string array containing the channels
in a character that are used by a clip and the names of the animation
curves that drive the channels. Each string in the string array consists
of the name of a channel, a space, and the name of the animation curve
animating that channel. This flag must be used with the ci/clipIndex flag.
|
|
-cycle(-c)
|
float
|
|
|
This flag is now obsolete. Use the postCycle flag instead.
|
|
-group(-grp)
|
boolean
|
|
|
This flag is used to add (true) or remove (false) a list of clips (specified with groupIndex) into a group.
|
|
-groupName(-gn)
|
string
|
|
|
This flag is used to specify the group that should be added to. If no group
by that name exists and new group is created with that name. By default if
this is not specified a new group will be created.
|
|
-groupIndex(-gri)
|
uint
|
|
|
This flag specifies a multiple number of clips to be added or removed from a group.
|
|