Chapter 11: Working with the Schematic View


A valuable tool for selecting, linking, and organizing scene objects is the Schematic View window. This window offers a 1,000-foot view of the objects in your scene. From this whole scene perspective, you can find the exact item you seek.

The Schematic View window shows all objects as simple nodes and uses arrows to show relationships between objects. This structure makes the Schematic View window the easiest place to establish links and to wire parameters. You can also use this view to quickly see all the instances of an object.

Using the Schematic View Window

A great way to organize and select objects is by using the Schematic View window. Every object in the Schematic View is displayed as a labeled rectangular box. These boxes, or nodes, are connected to show the relationships among them. You can rearrange them and save the customized views for later access.

image from book You access the Schematic View window via the Graph Editors menu command or by clicking its button on the main toolbar. When the window opens, it floats on top of the Max interface and can be moved by dragging its title bar. You can also resize the window by dragging on its borders. The window is modeless and lets you access the viewports and buttons in the interface beneath it.

The Graph Editors menu options

The Schematic View menu options enable you to manage several different views. The Graph Editors image from book New Schematic View command opens the Schematic View window, shown in Figure 11.1. If you enter a name in the View Name field at the top of the window, you can name and save the current view. This name then appears in the Graph Editors image from book Saved Schematic Views submenu and also in the title bar when the saved view is open.

image from book
Figure 11.1: The Schematic View window displays all objects as nodes.

Every time the Graph Editors image from book New Schematic View menu command is used, a new view name is created and another view is added to the Saved Schematic Views submenu. The Schematic View image from book Delete Schematic View command opens a dialog box in which you can select the view you want to delete.

Tip 

You can open any saved Schematic View window (or a new Schematic View window) within a viewport by right-clicking the viewport title, choosing Views image from book Schematic, and clicking the view name in the pop-up menu.

The Schematic View interface

The Schematic View window includes several common interface elements including menus, toolbar buttons, and a right-click quadmenu. Just like the main interface, you can access the commands in many ways.

Using the Schematic View menus

The Schematic View window includes menus at the top of its interface, including Edit, Select, List Views, Layout, Options, Display, and View.

NEW FEATURE 

The Schematic View menus have been rearranged to make commands easier to access. The Display menu is also new in 3ds Max 9.

The Edit menu includes commands to Connect (C) and Unlink Selected object nodes. It also includes a Delete command, which deletes an object from the viewports as well as from the object node. The Edit menu includes features to Assign Controllers, Wire Parameters, and edit Object Properties.

Note 

Many of the keyboard shortcuts for the Schematic View window are the same as those in the main interface. If you enable the Keyboard Shortcut Override Toggle, then you can use the Schematic View keyboard shortcuts.

The Select menu includes commands for accessing the Select tool (S); selecting All (Ctrl+A), None (Ctrl+D), and Invert (Ctrl+I); selecting (Ctrl+C) and deselecting children; and commands to synch the selected nodes in the Schematic View with the scene (Select From Scene) and vice versa (Select to Scene).

The List Views menu determines what is shown in the Schematic View. Options include All Relationships, Selected Relationships, All Instances, Selected Instances, Show Occurrences, and All Animated Controllers. Many of these options are also available in the Display Floater.

The Layout menu includes various options for controlling how the nodes are arranged. The Align submenu lets you align selected nodes to the Left, Right, Top, Bottom, Center Horizontal, or Center Vertical. You can also Arrange Children, or Arrange Selected. The Free Selected (Alt+S) and Free All (Alt+F) commands remove nodes from being auto arranged. With the Layout menu, you can also Shrink Selected, Unshrink Selected, Unshrink All, and Toggle Shrink (Ctrl+S).

The Options menu lets you select the Always Arrange option and view mode (either Hierarchy and Reference modes). You can also select the Move Children (Alt+C) option and open the Schematic View Preferences dialog box.

The Display menu provides access to the Display Floater. The Display Floater (D) command opens the Display floater, which can be used to select the types of nodes to display. You also can hide and unhide nodes and Expand or Collapse the selected node.

The View menu includes commands for selecting the Pan, Zoom, and Zoom Region tools. You also can access the Zoom Extents, Zoom Extents Selected (Z), and Pan to Selected commands. The View menu also includes options to Show/Hide Grid (G), Show/Hide Background, and Refresh View.

Learning the toolbar buttons

You can also select most of these commands from the toolbar. Many of the toolbar buttons are toggle switches that enable and disable certain viewing modes. The background of these toggle buttons is highlighted yellow when selected. You'll also find some buttons along the bottom of the window. All Schematic View icon buttons are shown in Table 11.1 and are described in the following sections.

Note 

The Schematic View toolbar buttons are permanently docked to the interface and cannot be removed.

Table 11.1: Schematic View Toolbar Buttons
Open table as spreadsheet

Toolbar Button

Name

Description

image from book

Display Floater

Opens the Display Floater, where you can toggle which items are displayed or hidden.

image from book

Select (S)

Toggles selection mode on, where nodes can be selected by clicking.

image from book

Connect (C)

Enables you to create links between objects in the Schematic View window; also used to copy modifiers and materials between objects.

image from book

Unlink Selected

Destroys the link between the selected object and its parent.

image from book

Delete Objects

Deletes the selected object in both the Schematic View and in the viewports.

image from book

Hierarchy Mode

Displays all child objects indented under their parents.

image from book

References Mode

Displays all object references and instances. This mode displays all materials and modifiers associated with the objects.

image from book

Always Arrange

Causes all nodes to be automatically arranged in a hierarchy or in references mode, and disables moving of individual nodes.

image from book

Arrange Children

Automatically rearranges the children of the selected object nodes.

image from book

Arrange Selected

Automatically rearranges the selected object nodes.

image from book

Free All

Allows all objects to be freely moved without being automatically arranged.

image from book

Free Selected

Allows selected objects to be freely moved without being automatically arranged.

image from book

Move Children

Causes children to move along with their parent node.

image from book

Expand Selected

Reveals all nodes below the selected node.

image from book

Collapse Selected

Rolls up all nodes below the selected node.

image from book

Preferences

Opens the Schematic View Preferences dialog box.

image from book

View Name field

Allows you to name the current display. Named displays show up underneath the Graph Editor image from book Saved Schematic View submenu.

image from book

Bookmark Name

Marks a selection of nodes to which you can return later.

image from book

Go to Bookmark

Zooms and pans to the selected bookmarked objects.

image from book

Delete Bookmark

Removes the bookmark from the Bookmark selection list.

As you navigate the Schematic View window, you can save specific views as bookmarks by typing an identifying name in the Bookmark drop-down list. To recall these views later, select them from the drop-down list and click the Go to Bookmark icon in the Schematic View toolbar. Bookmarks can be deleted with the Delete Bookmark button.

Note 

Most of the menu commands and toolbar buttons are available in a pop-up menu that you can access by right-clicking in the Schematic View window.

Navigating the Schematic View window

As the number of nodes increases, it can become tricky to locate and see the correct node to work with. Along the bottom edge of the Schematic View window are several navigation buttons that work similarly to the Viewport Navigation Control buttons. Using these buttons, you can pan, zoom, and zoom to the extents of all nodes. These buttons are described in Table 11.2.

The Schematic View navigation buttons can also be accessed from within the View menu. These menu commands include Pan Tool, Zoom Tool, Zoom Region Tool, Zoom Extents, Zoom Extents Selected (Z), and Pan to Selected.

Tip 

You can also navigate the Schematic View window using the mouse and its scroll wheel. Scrubbing the mouse wheel zooms in and out of the window in steps. Holding down the Ctrl key and dragging with the scroll wheel button zooms smoothly in and out of the window. Dragging the scroll wheel pans within the window.

Table 11.2: Schematic View Navigation Buttons
Open table as spreadsheet

Toolbar Button

Name

Description

image from book

Zoom Selected Viewport Object

Zooms in on the nodes that correspond to the selected viewport objects.

image from book

Search Name field

Locates an object node when you type its name.

image from book

Pan

Moves the node view when you drag in the window.

image from book

Zoom

Zooms when you drag the mouse in the window.

image from book

Region Zoom

Zooms to an area selected when you drag an outline.

image from book

Zoom Extents

Increases the window view until all nodes are visible.

image from book

Zoom Extents Selected

Increases the window view until all selected nodes are visible.

image from book

Pan to Selected

Moves the node view at the current zoom level to the selected objects.

Working with Schematic View nodes

Every object displayed in the scene has a node-a simple rectangular box that represents the object or attribute. Each node contains a label, and the color of the node depends on the node type.

Node colors

Nodes have a color scheme to help identify them. The colors of various nodes are listed in Table 11.3.

Table 11.3: Schematic View Node Colors
Open table as spreadsheet

Color

Name

White

Selected node

Blue

Geometry Object node

Cyan

Shape Object node

Yellow

Light Object node

Dark Blue

Camera Object node

Green

Helper Object node

Purple

Space Warp Object node

Goldenrod

Modifier node

Dark Yellow

Base Object node

Brown

Material node

Dark Green

Map node

Salmon

Controller node

Magenta

Parameter Wires

Note 

If you don't like any of these colors, you can set the colors used in the Schematic View using the Colors panel of the Customize User Interface dialog box.

Selecting nodes

The Select (S) button enters select mode, which lets you select nodes within the Schematic View window by clicking the object node. You can select multiple objects by dragging an outline over them. Holding down the Ctrl key while clicking an object node selects or deselects it. Selected nodes are shown in white.

The Select menu includes several selection commands that enable you to quickly select (or deselect) many nodes, including Select All (Ctrl+A), Select None (Ctrl+D), Select Invert (Ctlr+I), Select Children (Ctrl+C), and Deselect Children.

If the Select image from book Sync Selection option in the Select menu is enabled, then the node of any object that is selected in the viewports is also selected in the Schematic View window, and vice versa. If you disable the Sync Selection option, then you can select different objects in the viewports and in the Schematic View at the same time. The node of the object selected in the viewports is outlined in white, and the interior of selected nodes is white. To select all the objects in the viewports that match the selected nodes without the Sync Selection option enabled, just use Select image from book Select to Scene. Select image from book Select From Scene selects the nodes for all objects selected in the viewports.

Tip 

All animated objects have their node border drawn in red.

Rearranging nodes

The Schematic View includes several options for arranging nodes. In the Options menu, you can toggle between Hierarchy and Reference modes. Hierarchy mode displays the nodes vertically with child objects indented under their parent. Reference mode displays the nodes horizontally allowing for plenty of room to display all the various reference nodes under each parent node. Figure 11.2 shows these modes side by side.

image from book
Figure 11.2: The Schematic View window can automatically arrange nodes in two different modes: Hierarchy and Reference.

You can move nodes and rearrange them in any order. To move a node, simply click and drag it to a new location. When a node is dragged, all selected nodes move together, and any links follow the node movement. If a child node is moved, all remaining child nodes collapse together to maintain the specified arrangement mode. The moved node then becomes free, which is designated by an open rectangle on the left edge of the node. Figure 11.3 shows two nodes that were moved and thereby became free. The other children automatically moved closer together to close the gaps made by the moving nodes.

image from book
Figure 11.3: Free nodes are moved independent of the arranging mode.

Using the Layout image from book Free Selected (Alt+S) and Free All (Alt+F) menu commands, you can free the selected nodes or all nodes. You can also designate that all the children of a node be auto arranged with the Layout image from book Arrange Children menu command or that just the selected nodes be arranged (Layout image from book Arrange Selected). The Options image from book Move Children (Alt+C) command causes all children to be moved along with their parent when the parent is moved. This causes free and non-free nodes to move with their parent.

If the Options image from book Always Arrange option is enabled, then Max automatically arranges all the nodes using either the Hierarchy or Reference mode, but you cannot move any of the nodes while this option is enabled. If you've moved any nodes when the Always Arrange option is selected, a dialog box appears telling you that your custom layout will be lost. If the Always Arrange option is enabled, the Arrange Children, Free All (Alt+F), Free Selected (Alt+S), Move Children (Alt+C), and all the Align options are all disabled. If two or more nodes are selected, you can align them using the Layout image from book Align menu. The options include Left, Right, Top, Bottom, Center Horizontal, and Center Vertical.

Hiding, shrinking, and deleting nodes

If your Schematic View window starts to get cluttered, you can always hide nodes to simplify the view. To hide a node, select the nodes to hide and use the Display image from book Hide Selected menu command. The Display image from book Unhide All menu command can be used to make the hidden nodes visible again.

Note 

If you hide a parent object, its children nodes are also hidden.

Another useful way to reduce clutter in the Schematic View window is with the Layout image from book Shrink Selected command. This command replaces the rectangular node with a simple dot, but all hierarchical lines to the node are kept intact. Figure 11.4 shows a Schematic View with several shrunk nodes. Shrunk nodes can be unshrunk with the Layout image from book Unshrink Selected and Unshrink All menu commands.

image from book
Figure 11.4: Shrunken nodes appear as simple dots in the Schematic View.

Note 

The Shrink commands work only when Layout image from book Toggle Shrink (Ctrl+S) is enabled. With this command, you can turn on and off the visibility of shrunken nodes.

To delete a node, select the node and click the Delete Objects button on the Schematic View toolbar or press the Delete key. If several nodes are selected, they are all deleted. This deletes the object in the viewports also.

Renaming objects

In the Schematic View window, you can rename objects quickly and conveniently. To rename an object, click a selected node and click again to highlight the text. When the text is highlighted, you can type the new name for the object. This works only for nodes that have a name, which includes materials.

Tutorial: Rearranging the Solar System

To practice moving nodes around, we order the solar system model. When Max places nodes in the Schematic View, it really doesn't follow any specific order, but you can move them as needed by hand.

To rearrange the solar system nodes, follow these steps.

  1. Open the image from book Ordered solar system.max file from the Chap 11 directory on the DVD. This file includes several named spheres representing the solar system.

  2. Select Graph Editors image from book New Schematic View to open the Schematic View window. All planets are displayed as blue nodes under the Sun object.

  3. Select Options image from book Reference Mode to position all the nodes horizontally. Click the Select tool on the main toolbar (or press the S key).

  4. Make sure that the Options image from book Always Arrange option is disabled. Then click and drag the Mercury node to the left, and place it front of the Venus node.

  5. Select the Options image from book Move Children (Alt+C) menu command, and drag and drop the Saturn node between the Jupiter and Uranus nodes.

    With the Move Children option enabled, the Saturn rings node moves with its parent.

  6. Drag and drop the Pluto node beyond the Neptune node.

  7. Select all the planet nodes, and choose Layout image from book Align image from book Top to align all the nodes together.

Figure 11.5 shows the rearranged hierarchy with all the planets lined up in order.

image from book
Figure 11.5: After rearranging nodes to the correct order, the planets are easy to locate.




3ds Max 9 Bible
3ds Max 9 Bible
ISBN: 0470100893
EAN: 2147483647
Year: 2007
Pages: 383

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