This command sets up an attribute to be recorded. When the record command is executed, any changes to this attribute are recorded. When recording stops these changes are turned into keyframes. If no attributes are specified all attributes of the node are recorded. In query mode, return type is based on queried flag.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
attribute (at) | unicode | ||
|
|||
delete (d) | bool | ||
|
Derived from mel command maya.cmds.recordAttr
Example:
import pymel.core as pm
# This command will setup the translateX and translateY
# attributes for recording.
pm.recordAttr( at=['translateX', 'translateZ'] )