Selection Modes and Masks


Maya has three selection modes: select by hierarchy, select by object, and select by component. Each mode has its own selection mask, also called a pick mask. The selection mask can be used to avoid selecting certain types of objects or components. Together, the selection mode and mask determine what you can select when you click in the view, and they don't affect your ability to select objects in the Outliner or Hypergraph. The buttons that control the selection mode and mask can be found in the Status Line, which is the toolbar at the top of the Maya interface.

Selecting objects using object type mode

Object type mode, commonly called object mode, is the default selection mode in Maya. If you're in a different mode, you can switch to object mode by clicking the middle of the three selection mode icons in the Status Line (Figure 5.13). Object mode lets you select entire objects and, optionally, use the selection mask to make specific types of objects non-selectable.

Figure 5.13. Object mode, the default selection mode, is represented by the middle of the three selection mode icons.


This mode is extremely useful when you want to select an object of one type that has an object of another type overlapping it. For example, if you have a NURBS curve that you used to create a NURBS surface, you may find it difficult to select the curve, because it's overlapped by the surface. To more easily select the curve, you can turn off surfaces in the object selection mask (Figure 5.14). Alternately, if other objects might get in the way, you can turn off all object types and then turn curves back on (Figure 5.15).

Figure 5.14. You can click one of the selection mask icons to turn off selection for that object type.


Figure 5.15. After turning off all object types, you can click any selection mask icon to turn on selection for that object type.


There are eight object type icons for the object mode selection mask, all of which are described in Table 5.1. Most of these icons include multiple object types, which you can also turn off and on individually when you need that level of precision.

Table 5.1. Object Mode Selection Masks

Icon

Name

Function

Handles

Selects selection handles and IK handles

Joints

Selects skeleton joints

Curves

Selects NURBS curves, curves on surfaces, and paint effects strokes

Surfaces

Selects NURBS, poly, and subdivision surfaces, as well as planes

Deformations

Selects lattices, clusters, nonlinears, and sculpt objects

Dynamics

Selects particles, emitters, fields, springs, rigid bodies, and constraints

Rendering

Selects lights, cameras, and textures

Miscellaneous

Selects IK end effectors, locators, and dimensions


Tip

  • You can see a tool tip describing each selection mask icon by holding your mouse over it.


To turn off selection for surfaces:

1.

Choose Create > NURBS Primitives > Sphere, then Create > NURBS Primitives > Circle.

2.

If necessary, switch to object mode by clicking its icon in the Status Line.

3.

Click the Surfaces icon from the row of selection mask icons in the Status Line.

4.

Drag a marquee around the two objects (Figure 5.16).

Figure 5.16. The curve in this scene occupies the same space as one of the sphere's curves.


Only the circle is selected. The sphere isn't selected because it's a surface (Figure 5.17).

Figure 5.17. Because selection of surfaces is turned off, only the curve is selected.


To turn off selection for all object types:

  • Click and hold the arrow between the selection mode icons and the selection mask icons, and then select All Objects Off from the pop-up menu (Figure 5.18).

    Figure 5.18. You can use this menu to turn all object types on or off in the selection mask.


    All object types are turned off in the selection mask. You won't be able to select any objects in the view until you make an object type selectable.

To turn on selection for curves only:

1.

Follow the steps in the previous task for turning off all object types.

2.

Click the Curves icon from the row of selection mask icons in the Status Line.

Only curves will be selectable.

Tip

  • You can use the previous steps to turn selection on or off for any object type. To do so, use the corresponding icon.

  • To turn selection on or off for a subset of the object types represented by an icon, right-click that icon and select or deselect the corresponding types (Figure 5.19).

    Figure 5.19. You can choose exactly what object types are selectable from each icon's pop-up menu.


Selecting parts of objects using component mode

Every Maya object is made up of components that define its shape. A simple polygon cube, for example, is made up of 8 vertices, 12 edges, and 6 faces (Figure 5.20). Each of these components can be selected and edited individually using Maya's manipulation tools and component mode, also referred to as component type mode (Figure 5.21).

Figure 5.20. A simple polygon cube has 8 vertices, 12 edges, and 6 faces.


Figure 5.21. You can select and manipulate individual components of objects


Like object mode, component mode has its own selection mask that determines what types of components you can and can't select. There are eight component type icons in component mode, all of which are defined in Table 5.2.

Table 5.2. Component Mode Selection Masks

Icon

Name

Function

Points

Selects NURBS CVs, poly vertices, subdiv vertices, lattice points, and particles

Parm Points

Selects NURBS edit, curve, and surface points; and poly, NURBS, and subdiv UVs

Lines

Selects NURBS isoparms and trim edges, poly and subdiv edges, and springs

Faces

Selects NURBS patches, and poly and subdiv faces

Hulls

Selects NURBS hulls

Pivots

Selects rotate, scale, and joint pivots

Handles

Selects selection handles

Miscellaneous

Selects local rotation axes and image planes


Unlike in object mode, not all component types can be made selectable at the same time as others. You can't turn on selection for two different component types that would apply to the same objectpoly vertices and poly faces, for example. If you click the Faces icon while the Points icon is active, the Points icon turns orange to indicate that it's only partially enabled (Figure 5.22). Right-clicking the Points icon indicates that poly vertices have been disabled (Figure 5.23).

Figure 5.22. The Points icon on the right has turned orange (dark gray) to indicate that only some of its constituent object types are selectable.


Figure 5.23. You can set exactly which types of components are selectable in the pop-up menu of each selection mask icon.


You can switch to component mode by clicking the selection mode icon to the right of the object mode icon (Figure 5.24). You can also toggle between object mode and component mode by pressing . Once in component mode, you can select components the same way you select objects: either by clicking them or by clicking and dragging a marquee to select multiple components.

Figure 5.24. Component mode is represented by the righthand object mode icon.


To select and move a face of a polygonal object:

1.

Choose Create > Polygon Primitives > Cube.

2.

Switch to component mode by clicking its icon in the Status Line or by pressing .

3.

Click the cube to display its components.

4.

Click the Faces icon .

5.

Click the point displayed in the center of a face to select that face (Figure 5.25).

Figure 5.25. Click the point at the center of a face to select it.


6.

Click the Move Tool icon in the Tool Box, or press

The Move tool manipulator appears.

7.

Click and drag the Move tool manipulator to move the face and change the shape of the cube (Figure 5.26).

Figure 5.26. Once the component is selected, you can use Maya's Move tool to move it.


Component mode shortcuts

The following keyboard shortcuts let you quickly switch to selecting specific polygonal and subdiv components:

Turns on selection of vertices.

Turns on selection of edges.

Turns on selection of faces.

Turns on selection of UVs.

Selecting objects using hierarchy mode

Hierarchy mode, also referred to as hierarchy and combinations mode, can be used to select the top node in the hierarchy the object belongs to rather than the object itself. This can be useful when you want to manipulate several objects as if they were a single objectfor example, a NURBS primitive cube, which consists of six surfaces grouped together. Clicking to select a NURBS cube normally selects only one of its surfaces, which isn't usually the result you're looking for (Figure 5.27). Using hierarchy mode lets you click any of the surfaces to select its parent.

Figure 5.27. If you click a NURBS primitive cube expecting to select and move the entire cube, you may end up taking off one of its faces by accident.


You can also use the hierarchy mode selection mask to enable the selection of templated objects, which can't be selected in the view in object mode. (See "Hiding and Templating" later in this chapter.)

You can switch to hierarchy mode by clicking the selection mode icon to the left of the object mode icon (Figure 5.28).

Figure 5.28. Hierarchy mode is represented by the left-hand object mode icon.


To select the top object in a hierarchy:

1.

Choose Create > NURBS Primitives > Cube.

2.

Switch to hierarchy mode by clicking its icon in the Status Line.

3.

Click the cube.

The nurbsCube1 group node at the top of the hierarchy is now selected, rather than the specific surface you clicked (Figure 5.29).

Figure 5.29. Using hierarchy mode, you can click in the view to select a root node (nurbsCube1) rather than the actual object you clicked (frontnurbsCube1).


Tip

  • You can quickly move up the hierarchy by pressing the up W arrow to select an object's parent. Depending on your task, this may be more convenient than switching to hierarchy mode.





Maya 7 for Windows and Macintosh(c) Visual Quickstart Guide
Maya 7 for Windows & Macintosh
ISBN: 0321348990
EAN: 2147483647
Year: 2006
Pages: 185

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net