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

Synopsis

recordAttr [-attribute string] [-delete]

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.

Return value

None

In query mode, return type is based on queried flag.

Related

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

Flags

attribute, delete
Long name (short name) Argument types Properties
-attribute(-at) string createmultiuse
specify the attribute to record
-delete(-d) create
Do not 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 be used more than once in a command.

MEL examples

// This command will setup the translateX and translateY
// attributes for recording.
recordAttr -at "translateX" -at "translateZ";