pymel.core.animation.listAnimatable

listAnimatable(*args, **kwargs)

This command list the animatable attributes of a node. Command flags allow filtering by the current manipulator, or node type.

Modifications:
  • returns an empty list when the result is None
  • returns wrapped classes
Flags:
Long name (short name) Argument Types Properties
active (act) bool ../../../_images/create.gif
 
This flag is obsolete and no longer supported.
manip (m) bool ../../../_images/create.gif
 

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 ../../../_images/create.gif
 

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 ../../../_images/create.gif
 
This flag is obsolete and no longer supported.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.
type (typ) bool ../../../_images/create.gif
 
Instead of returning attributes, Return the types of nodes that are currently animatable.

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: [] #

Previous topic

pymel.core.animation.lattice

Next topic

pymel.core.animation.marker

Core

Core Modules

Other Modules

This Page