timeEditorAnimSource is undoable, queryable, and editable.
Commands for managing animation sources.
In query mode, return type is based on queried flag.
Long name (short name) |
Argument types |
Properties |
-addSource(-asc)
|
string
|
|
|
Add single new target attribute with its animation.
|
|
-apply(-ap)
|
|
|
|
Connect anim source's animation directly to the target objects. If the Time Editor is not muted, connect to scene storage instead.
|
|
-bakeToAnimSource(-bas)
|
string
|
|
|
Create a new anim source with the same animation as this anim source. All non-curve inputs will be baked down, whereas curve sources will be shared.
|
|
-calculateTiming(-ct)
|
|
|
|
Adjust start/duration when adding/removing sources. If query it returns the [start,duration] pair.
|
|
-copyAnimation(-cp)
|
|
|
|
Copy animation when adding source.
|
|
-drivenClips(-dc)
|
|
|
|
Return all clips driven by the given anim source.
|
|
-export(-ex)
|
string
|
|
|
Export given anim source and the animation curves to a specified Maya file.
|
|
-isUnique(-iu)
|
|
|
|
Return true if the anim source node is only driving a single clip.
|
|
-removeSource(-rs)
|
string
|
|
|
-targetIndex(-ti)
|
string
|
|
|
-targets(-trg)
|
|
|
|
Get a list of all targets in this anim source.
|
|
-addObjects(-ao)
|
string
|
|
|
Populate the given object(s) and their attributes to anim source to Time Editor. For multiple object, pass each name separated by semicolon.
In query mode, return the number of attributes that will be populated given the flags, along with the animation's first and last frames for the given object(s).
Similar to -addSelectedObjects flag but acts on given object(s) instead.
This flag will override the flag -addSelectedObjects.
|
|
-addRelatedKG(-akg)
|
boolean
|
|
|
During population, determine if associated keying groups should be populated
or not. Normally used for populating HIK. By default the value is false.
|
|
-addSelectedObjects(-aso)
|
|
|
|
Populate the currently selected objects and their attributes to anim source or Time Editor.
In query mode, return the number of attributes that will be populated given the flags, along with the animation's first and last frames.
|
|
-attribute(-at)
|
string
|
|
|
Populate a specific attribute on a object.
|
|
-exclusive(-exc)
|
|
|
|
Populate all types of animation sources which are not listed by "type" Flag.
|
|
-importAllFbxTakes(-aft)
|
|
|
|
Import all FBX takes into the new anim sources (for timeEditorAnimSource command) or new containers (for timeEditorClip command).
|
|
-importFbx(-fbx)
|
string
|
|
|
Import an animation from FBX file into the new anim source (for timeEditorAnimSource command) or new container (for timeEditorClip command).
|
|
-importFbxTakes(-ft)
|
string
|
|
|
Import multiple FBX takes (separated by semicolons) into the new anim sources (for timeEditorAnimSource command) or new containers (for timeEditorClip command).
|
|
-importMayaFile(-mf)
|
string
|
|
|
Import an animation from Maya file into the new anim sources (for timeEditorAnimSource command) or new containers (for timeEditorClip command).
|
|
-importOption(-io)
|
string
|
|
|
Option for importing animation source. Specify either 'connect' or 'generate'.
connect: Only connect with nodes already existing in the scene.
Importing an animation source that does not match with any element
of the current scene will not create any clip.
(connect is the default mode).
generate: Import everything and generate new nodes for items not existing in the scene.
|
|
-importPopulateOption(-ipo)
|
string
|
|
|
Option for population when importing.
|
|
-importedContainerNames(-icn)
|
string
|
|
|
Internal use only. To be used along with populateImportedAnimSources to specify names for the created containers.
|
|
-includeRoot(-irt)
|
|
|
|
Populate transform (Translate, Rotate, Scale) of hierarchy root nodes.
|
|
-populateImportedAnimSources(-pia)
|
string
|
|
|
Internal use only. Populate the Time Editor with clips using the Animation Sources specified (use ; as a delimiter for multiple anim sources).
|
|
-poseClip(-poc)
|
boolean
|
|
|
Populate as pose clip with current attribute values.
|
|
-recursively(-rec)
|
|
|
|
Populate selection recursively, adding all the children.
|
|
-removeSceneAnimation(-rsa)
|
boolean
|
|
|
If true, remove animation from scene when creating clips or anim sources. Only Time Editor will drive the removed scene animation.
|
|
-showAnimSourceRemapping(-sar)
|
|
|
|
Show a remapping dialog when the imported anim source attributes do not match the scene attributes.
|
|
-takeList(-tl)
|
string
|
|
|
Internal use only. To be used along with populateImportedAnimSources to specify the imported take names.
|
|
-takesToImport(-toi)
|
string
|
|
|
Internal use only. To be used along with populateImportedAnimSources to specify the imported take indices.
|
|
-type(-typ)
|
string
|
|
|
Only populate the specified type of animation source.
|
|