For information on a specific Layers tool, click on one of the following topics:

New layer

Select layers

Set State

Delete layers

Visibility

Layers Playback

Set Creation Layer

Undo Assign

Tgl Layers

Introduction to Layers


Layers provide a way of organizing your models to improve your workflow. When you use Layers you reduce the visual clutter in the modeling windows, and you can decide how you want to organize your model. You do not have to use layers, and you can easily toggle them off if you don't want to use them.

What is a Layer?

A layer is an association or a collection of objects completely independent of any group hierachy in your model. Each stage has a different set of layers.

Layers let you:

Manage complex models by organizing various objects into more easily manageable chunks. This model management improves your workflow and performance by:

Things to remember

Layer Attributes

Use the following attributes to organize your model.

Pickable layers

Objects on a layer are pickable by default. You can change this attribute on any layer except the default layer (which is always pickable and visible).

Colors

You can set any inactive modeling color to a pickable layer in the Layer bar. The default inactive layer color is blue, and the reference layer color is brown. The default color for an unassigned layer is yellow.

To set the color for a layer tab, click the square beside the layer name in the layer bar and select one of fifteen colors.

Click the Edit button to open the Color Editor and edit the color of your layer tab. The None button means that the layer does not have a color and default Alias colors are applied to that layer.

Reference layers

You can make a layer unpickable but snappable, allowing curve snapping to all the objects in that layer. CVs and edit points are not displayed on reference layers.

Inactive layers

You cannot pick or snap to the objects or nodes on the inactive layer. They may appear similar to templated objects, but they are displayed in a different color. You cannot pick them using Pick Template.

Invisible

Objects on invisible layers are not displayed and cannot be picked in the modeling or SBD windows.

Playback

If you have several characters in a scene and want to look at each character's animation separately, you can place each character in its own layer and play back the animation of each character as you wish. See Layers Playback for more information.

Name

You can assign a name to each layer, which helps to create meaningful layers for a model. To change the layer name, double-click the layer's tab in the Layers Bar, type the new name and press Enter.

How Attributes are applied

Attributes are applied in a set hierarchy:

Attributes Associated with Layer States

Default Layer Creation Layer Pickable Layer Reference Layer Inactive Layer
Snap to objects 4 4 4 4 6
Pick objects 4 4 4 6 6
Pick templates 4 4 4 6 6
Pick in SBD & ASBD windows 4 4 4 4 4
User Color 6 if assigned if assigned 6 6
Construction History color 4 4 user color if assigned 4 user color if assigned 6 reference layer color 6 inactive layer color
Lights used 4 4 4 6 6
Render/Qk render 4 4 4 6 6
Plotting 4 4 4 6 6

Viewing Layers in the SBD and ASBD Windows

In the SBD window, a small box in the lower right corner of the node shows the layer assignment of the node. Nodes in the default layer do not have a box. The color of this box is same as the model in the modeling windows. The name of the layer also appears in this box. An invisible layer appears with a dotted outline.

The following example shows the SBD window layer representation.

The ASBD window displays layer information in the same way. However, by placing the cursor over a node, you can also see the node name and its layer name on the promptline of the ASBD window.

Default Layer

One layer with fixed attributes is always present when layers are toggled on. This is the default layer, and is initially the creation layer, so new objects will always appear on it.

Creation Layer

You can make any layer (including the default) the creation layer by clicking the layer tab in the Layers bar or by selecting Layers Set creation layer. Whenever you create a new layer, that layer automatically becomes the creation layer.

Note: New objects are placed on the creation layer. Copied objects already have a layer assignment, so they will be put on their original layer.

Layer assignment

Any picked dag node or object can be assigned to a layer. When you assign a layer to a node, the following rules apply:

Finding a node's layer assignment

Any node's assigned layer can be found in:

Selecting Multiple Layers

Sometimes you may want to set the attributes for multiple layers. Press the Shift key and click on the layers button in the layers bar to simultaneously select layers. Once you select the desired layers, their attributes can be set collectively in the Layers menu.

Saving and Retrieving Layers

The following describes the methods that you use to save and retrieve your layers.

Retrieving Layers

Your retrieve layers as though they were files. To retrieve a layer, select File Open and make sure Keep Layers is set to ON in the Open File Options box.

Click the Open File button at the bottom of the Open File Options window and select the layer you want from the file list or type its name in the File Browser.

All the layers are retrieved, along with the layer assignment of the objects. If a layer with the same name as the retrieved file already exists in the current stage, the retrieved layer is merged with the existing file.

Note: While retrieving wire file versions previous to V8.0, all the objects are automatically loaded to the Default Layer.

If you set Keep Layers to OFF, all the dag nodes in the retrieved file are automatically loaded to the creation layer, and the layers stored in the retrieved file are not rejected. Similarly, older versions are also retrieved into the creation layer.

If you import one file into another and they have more than 255 different layers between them, then all the objects on the extra layers of the imported file are put into the default layer. See the File Operations section of the Overview book for more information.

Layer Behavior with files

Where objects go in the layer structure Open / Import Merge Stages
pre V8 file V8 file
Keep layers Lose layers Keep layers Lose layers
New or matched layers 4 4
Default Layer 4 layers over 255 layers over 255
Creation Layer 4 4

Saving Layers

The layers are automatically saved in the wire file.

Pick Objects option

When you select Pick Objects from a layer's pull-down menu, the root node of the hierarchy is selected, as shown in the following SBD view.

The highest node in the hierarchy (not necessarily the root node) is picked so that it is not above a node on an unpickable layer.

Layers and Stages

Stages are completely independent of each other, so the layers in each stage are totally separate. You can create up to 255 layers in a single stage of Alias, and reference the layers with a layer name. Each stage can have its own set of layers.

Note: If you have more than 255 layers with different names across a number of stages, and you merge those stages, they will be merged into 255 layers on the working stage. The system tries to match layer names and then create up to 255 new layers. Objects on any subsequent layers are put onto the Default Layer.

Layer workflow examples

To transfer all the objects from one layer to another:

  1. Select Pick Objects from a layer's pull-down menu to pick all the objects from the source layers.

  2. Select Assign from the pull-down menu for the destination layer.

To turn on the bounding box for a layer:

  1. Select Pick Objects from a layer's pull-down menu to pick all the objects from the source layers.

  2. Select Object Display Tgl bounding box from the menu bar to turn the bounding box on for the layer. This example applies to a whole range of functions; for example, saving a layer's contents to a wire file (with File Export Active as), or turning the simple display ON. In fact, with this mechanism, any function used for picked objects can also be applied to the layer.

Editing the Colors in Layers

You can control the colors of the model by clicking on the slider next to an object in the color list. The color lister gives you total freedom in the color assignment by letting you assign and maintain the colors in the model.

Note: You will not be able to make an object inactive by selecting an inactive color in the color palette.





aliasdocs@aw.sgi.com
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights reserved.