Your Ad Here

Create, edit, or delete custom attributes

To add custom attributes to objects

  1. Select the objects/nodes you want to add attributes to.
  2. In the Attribute Editor, select Attributes > Add Attributes.
  3. Type the name of the attribute.
  4. Select the type of value the attribute holds:
    • Vector: three floating point values.
    • Float: a single floating point value. Maya does not display floating point numbers in the user interface with their full precision.
    • Although Maya only displays numbers to a customizable number of decimal places, and the Attribute Editor always shows only three decimal places, the true value of a float attribute is kept in memory.
    • Integer: a single integer value.
    • Boolean: an on/off switch.
    • String: a text string.
    • Enum: a list of choices.
  5. Set the Keyable option. When an attribute is keyable, you can use its value in keyframe animation, and it appears in the Channel Box.
  6. Click Add.

Remember that Maya adds the attribute to the selected node, not necessarily the node currently displayed in the Attribute Editor.

To edit a custom attribute

  1. Select the object/node with custom attributes you want to edit.
  2. Select Modify > Edit Attributes.

Or, in the Attribute Editor, select Attributes > Rename Attributes.

In attribute names, all punctuation except for the underscore (_) and the pound sign (#) are illegal characters

  1. Click the name of the attribute.

To delete a custom attribute

  1. Select the object/node with custom attributes you want to delete.
  2. Select Modify > Delete Attributes.
  3. Click the name of the attribute.
  4. Click Delete.

 

Return to Autodesk Index


Your Ad Here