pymel.core.nodetypes.TimeEditorAnimSource¶
digraph inheritance6259450daf { rankdir=TB; ranksep=0.15; nodesep=0.15; size="8.0, 12.0"; "DependNode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.nodetypes.DependNode.html#pymel.core.nodetypes.DependNode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "PyNode" -> "DependNode" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ProxyUnicode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="../pymel.util.utilitytypes/pymel.util.utilitytypes.ProxyUnicode.html#pymel.util.utilitytypes.ProxyUnicode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "PyNode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="../pymel.core.general/pymel.core.general.PyNode.html#pymel.core.general.PyNode",style="setlinewidth(0.5)",tooltip="Abstract class that is base for all pymel nodes classes.",height=0.25,shape=box,fontsize=8]; "ProxyUnicode" -> "PyNode" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TimeEditorAnimSource" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="#pymel.core.nodetypes.TimeEditorAnimSource",style="setlinewidth(0.5)",tooltip="class counterpart of mel function `timeEditorAnimSource`",height=0.25,shape=box,fontsize=8]; "DependNode" -> "TimeEditorAnimSource" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
- class TimeEditorAnimSource(*args, **kwargs)¶
class counterpart of mel function timeEditorAnimSource
Commands for managing animation sources.
- MAttrClass = Enum( EnumValue('MAttrClass', 1, 'localDynamicAttr'), EnumValue('MAttrClass', 2, 'normalAttr'), EnumValue('MAttrClass', 3, 'extensionAttr'), EnumValue('MAttrClass', 4, 'invalidAttr'))¶
- MdgTimerMetric = Enum( EnumValue('MdgTimerMetric', 0, 'metric_callback'), EnumValue('MdgTimerMetric', 1, 'metric_compute'), EnumValue('MdgTimerMetric', 2, 'metric_dirty'), EnumValue('MdgTimerMetric', 3, 'metric_draw'), EnumValue('MdgTimerMetric', 4, 'metric_fetch'), EnumValue('MdgTimerMetric', 5, 'metric_callbackViaAPI'), EnumValue('MdgTimerMetric', 6, 'metric_callbackNotViaAPI'), EnumValue('MdgTimerMetric', 7, 'metric_computeDuringCallback'), EnumValue('MdgTimerMetric', 8, 'metric_computeNotDuringCallback'), EnumValue('MdgTimerMetric', 9, 'metrics'))¶
- MdgTimerState = Enum( EnumValue('MdgTimerState', 0, 'off'), EnumValue('MdgTimerState', 1, 'on'), EnumValue('MdgTimerState', 2, 'uninitialized'), EnumValue('MdgTimerState', 3, 'invalidState'))¶
- MdgTimerType = Enum( EnumValue('MdgTimerType', 0, 'type_self'), EnumValue('MdgTimerType', 1, 'type_inclusive'), EnumValue('MdgTimerType', 2, 'type_count'), EnumValue('MdgTimerType', 3, 'types'))¶
- addSource(val=True, **kwargs)¶
Add single new target attribute with its animation.
Derived from mel command maya.cmds.timeEditorAnimSource
- apply(val=True, **kwargs)¶
Connect anim source’s animation directly to the target objects. If the Time Editor is not muted, connect to scene storage instead.
Derived from mel command maya.cmds.timeEditorAnimSource
- bakeToAnimSource(val=True, **kwargs)¶
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.
Derived from mel command maya.cmds.timeEditorAnimSource
- copyAnimation(val=True, **kwargs)¶
Copy animation when adding source.
Derived from mel command maya.cmds.timeEditorAnimSource
- exclusive(val=True, **kwargs)¶
Populate all types of animation sources which are not listed by typeFlag.
Derived from mel command maya.cmds.timeEditorAnimSource
- export(val=True, **kwargs)¶
Export given anim source and the animation curves to a specified Maya file.
Derived from mel command maya.cmds.timeEditorAnimSource
- getAddObjects(**kwargs)¶
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 -addSelectedObjectsflag but acts on given object(s) instead. This flag will override the flag -addSelectedObjects.
Derived from mel command maya.cmds.timeEditorAnimSource
- getAddRelatedKG(**kwargs)¶
During population, determine if associated keying groups should be populated or not. Normally used for populating HIK. By default the value is false.
Derived from mel command maya.cmds.timeEditorAnimSource
- getAddSelectedObjects(**kwargs)¶
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.
Derived from mel command maya.cmds.timeEditorAnimSource
- getCalculateTiming(**kwargs)¶
Adjust start/duration when adding/removing sources. If query it returns the [start,duration] pair.
Derived from mel command maya.cmds.timeEditorAnimSource
- getDrivenClips(**kwargs)¶
Return all clips driven by the given anim source.
Derived from mel command maya.cmds.timeEditorAnimSource
- getIsUnique(**kwargs)¶
Return true if the anim source node is only driving a single clip.
Derived from mel command maya.cmds.timeEditorAnimSource
- getTargetIndex(**kwargs)¶
Get target index.
Derived from mel command maya.cmds.timeEditorAnimSource
- getTargets(**kwargs)¶
Get a list of all targets in this anim source.
Derived from mel command maya.cmds.timeEditorAnimSource
- getType(**kwargs)¶
Only populate the specified type of animation source. Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command maya.cmds.timeEditorAnimSource
- importOption(val=True, **kwargs)¶
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.
Derived from mel command maya.cmds.timeEditorAnimSource
- importPopulateOption(val=True, **kwargs)¶
Option for population when importing.
Derived from mel command maya.cmds.timeEditorAnimSource
- includeRoot(val=True, **kwargs)¶
Populate transform (Translate, Rotate, Scale) of hierarchy root nodes.
Derived from mel command maya.cmds.timeEditorAnimSource
- recursively(val=True, **kwargs)¶
Populate selection recursively, adding all the children.
Derived from mel command maya.cmds.timeEditorAnimSource
- removeSceneAnimation(val=True, **kwargs)¶
If true, remove animation from scene when creating clips or anim sources. Only Time Editor will drive the removed scene animation.
Derived from mel command maya.cmds.timeEditorAnimSource
- removeSource(val=True, **kwargs)¶
Remove single attribute.
Derived from mel command maya.cmds.timeEditorAnimSource
- setAddObjects(val=True, **kwargs)¶
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 -addSelectedObjectsflag but acts on given object(s) instead. This flag will override the flag -addSelectedObjects.
Derived from mel command maya.cmds.timeEditorAnimSource
- setAddRelatedKG(val=True, **kwargs)¶
During population, determine if associated keying groups should be populated or not. Normally used for populating HIK. By default the value is false.
Derived from mel command maya.cmds.timeEditorAnimSource
- setAddSelectedObjects(val=True, **kwargs)¶
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.
Derived from mel command maya.cmds.timeEditorAnimSource
- setCalculateTiming(val=True, **kwargs)¶
Adjust start/duration when adding/removing sources. If query it returns the [start,duration] pair.
Derived from mel command maya.cmds.timeEditorAnimSource
- setType(val=True, **kwargs)¶
Only populate the specified type of animation source. Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command maya.cmds.timeEditorAnimSource