Nodes and attributes

Maya is built around nodes. An “object”, such as a sphere, is built from several nodes:

For example, if you select Create > NURBS Primitives > Sphere to create a sphere, Maya creates a transform node and a shape node.

The sphere’s shape node holds the mathematical description of the sphere’s shape. The sphere’s transform node holds the sphere’s position, scaling, rotation, and so on. The shape node is the child of the transform node.

If you select Options > Display > Shape Nodes in the Hypergraph, the scene hierarchy shows these nodes for the sphere:

Attributes

An attribute is a position associated with a node that can hold a value or a connection to another node. Attributes control how a node works. For example, a transform node has attributes for the amount of rotation in X, Y, and Z. You can set attributes to control practically every aspect of your animation.

There are many ways to set attributes in Maya: with the Attribute Editor, the Channel Box, the Attribute Spread Sheet, menu selections, and MEL.

Every node is created with certain default attributes. Some attributes (such as Opacity and Color of particle objects) are added dynamically when you need them.

You can also add your own attributes to any node to store information. This is often useful for animation expressions and scripts, and can be used to control several normal attributes using one custom attribute.

Attention: Node and attribute names in Maya cannot begin with a number.

Keyable attributes

Animation in Maya is not limited to making things move. You can animate practically any attribute of any node in Maya. Attributes that control how a surface is constructed, or the look of a texture, or the influence of a deformer or physical force, can all change over time.

Construction history

As you work in Maya, most of your actions create nodes in the Construction history of the objects you work on. At each point in your work, the current scene is the result of all the nodes you’ve created so far.

Manipulating nodes and attributes

Much of working in Maya involves directly manipulating nodes and attributes using manipulators.

Manipulators are visual objects that let you accomplish complex tasks easily, concretely, and visually by dragging handles and seeing the results immediately.

Using the revolve example above, you can select the revolve node and edit its attributes (how it creates the surface) visually by showing its manipulator with the Show Manipulator Tool.

This lets you control attributes (such as how far around the centerpoint the surface goes) simply by dragging a handle.

You can also show manipulators for individual attributes to edit their values visually.

Related topics