Your Ad Here

Go to: Synopsis. Flags. Return value. Related. Python examples.

Synopsis

recordAttr([attribute=boolean], [delete=boolean])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

recordAttr is undoable, queryable, and editable.

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.

Flags

attribute, delete
Long name (short name) [argument types] Properties
attribute(at) boolean
specify the attribute to record
delete(d) boolean
don't record the specified attributes

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can have multiple arguments, passed either as a tuple or a list.

Return value


None

Related

assignInputDevice, attachDeviceAttr, detachDeviceAttr, devicePanel, getInputDeviceRange, getModifiers, listDeviceAttachments, listInputDeviceAxes, listInputDeviceButtons, listInputDevices, setAttrMapping, setInputDeviceMapping, unassignInputDevice

Python examples

import maya.cmds as cmds

# This command will setup the translateX and translateY
# attributes for recording.
cmds.recordAttr( at=['translateX', 'translateZ'] )


  

Return to Autodesk Index


Your Ad Here