This command list the animatable attributes of a node. Command flags allow filtering by the current manipulator, or node type.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
active (act) | bool | ||
|
|||
manip (m) | bool | ||
Return only those attributes affected by the current manip. If there is no manip active and any other flags are specified, output is the same as if the “-manip” flag were not present. |
|||
manipHandle (mh) | bool | ||
Return only those attributes affected by the current manip handle. If there is no manip handle active and any other flags are specified, output is the same as if the “-manipHandle” flag were not present. |
|||
shape (s) | bool | ||
|
|||
type (typ) | bool | ||
|
Derived from mel command maya.cmds.listAnimatable
Example:
import pymel.core as pm
import maya.cmds as cmds
# List only the attrs driven by the current manip.
#
pm.listAnimatable( manip=True )
# Result: [] #
# List only the attrs driven by the current manipulator handle.
#
pm.listAnimatable( manipHandle=True )
# Result: [] #
# List only the types of nodes driven by the current manip.
#
pm.listAnimatable( manip=True, type=True )
# Result: [] #
# List only the types of the active nodes.
#
pm.listAnimatable( type=True )
# Result: [] #
# List attributes on active objects (and shapes below them),
# or active attrs.
#
pm.listAnimatable()
# Result: [] #
# List types of active objects and types of any shapes below active
# objects.
#
pm.listAnimatable( type=True )
# Result: [] #