![]()
Create, edit, or delete custom attributes
To add custom attributes to objects
- Select the objects/nodes you want to add attributes to.
- In the Attribute Editor, select Attributes > Add Attributes.
- Type the name of the attribute.
- 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.
- Set the Keyable option. When an attribute is keyable, you can use its value in keyframe animation, and it appears in the Channel Box.
- 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
- Select the object/node with custom attributes you want to edit.
- 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
- Click the name of the attribute.
To delete a custom attribute
- Select the object/node with custom attributes you want to delete.
- Select Modify > Delete Attributes.
- Click the name of the attribute.
- Click Delete.