Query/Edit
Purpose
You can interactively query objects to:
Overview
The Query/Edit tool gives you immediate, basic geometry information about objects in a scene in any window, including the SBD. It displays the construction history of the object by coloring the object. As well the color indicates the parents and children belonging to the object within the hierarchy.
Query/Edit allows you to invoke the tool used to create a particular object (with construction history) without knowing which tool was used to create the object.
For example, if you have a surface (built with Square and with construction history) and you want to modify some of the parameters, you can open the Square Control window for that surface using Query/Edit. Clicking on the surface using the left mouse button will show you that the surface is a Square surface.
Query/Edit will automatically re-invokes the tool used to create any surface or curve (with construction history) that has parameters that can be modified.
Query/Edit is helpful when editing large models created from a wide variety of tools, because it reduces the number of steps needed to edit an object.
How to Use
Select Object Edit
Query/Edit, or click this icon:

The system prompts:
Use [LEFTMOUSE} to Edit construction history or [RIGHTMOUSE] to Query.
To query the geometry, click with the right mouse button on any object in any modeling window.
To edit the construction history of the object, click with the left mouse button on any one object with construction history. Selecting an object without any history will cause the system to prompt:
No object with construction history selected.
If you click on an object created with construction history and parameters are available for modification, you will automatically invoke the tool used in the creation of the object.
There are three types interaction you can get when you edit the construction history of an object:
Query Information - Text
Use the right mouse button with the Query/Edit tool. A floating window provides text at the point on the object where you clicked. After it appears, you can move the window anywhere on your screen. The window disappears when you release the mouse button.

The following list describes the different fields of information provided in the floating window, as well as the situations causing these fields to appear:
Name
Shows the name of the selected object. (Applicable for all objects.)
Type
Shows the type of object selected. Object types can be Curve, Surface, Trimmed Surface, Polyset, Light, Shell etc. (Applicable for all objects.)
Degree
Displays the degree of the curve. Displays the degree of the surface, in the U and V directions as an ordered pair of integers. (Applicable for only the Curve, Surface, or Trimmed Surface types.)
Spans
Displays the total number of spans (the section of a curve between edit points) in the curve. Displays the number of spans in the U and V parametric surface directions as an ordered pair of integers. (Applicable for only the Curve, Surface and Trimmed Surface types.)
Non-Empty Spans
Shows the number of spans of non-zero length. This field is displayed only if there are spans of length zero within the curve or surface. As above, it is displayed as one integer value for curves and an ordered pair of integers (for the U and V directions) for surfaces. (Applicable only for the Curve, Surface and Trimmed Surface types.)
Form
Indicates whether the geometry is open or closed. Surfaces are displayed separately for the U and V directions. (Applicable only for Curve and Surface types.)
Comments
Displays any comments attached to the object made with the Edit comments (see Object Edit
Edit Comments) tool. (Applicable for all objects.)
Vertex Count
Displays the number of vertices in the polyset. (Applicable only for Polysets.)
Polygon Count
Displays the number of polygons in the polyset. (Applicable only for Polysets.)
Number of Regions
Displays the number of regions in the shell. (Applicable only for Shells, i.e. stitched objects.)
Closed Shell
States True or False, depending on whether the shell is closed or not. (Applicable only for Shells.)
Number of Open Edges
Displays the number of open edges in a non-closed shell. (Applicable only for Shells.)
Result Of
Displays the name of the tool used to create the selected geometry. (Applicable to Curves and Surfaces with construction history.)
Used In
Displays the names of objects built using the selected object. You also see the name of the tool or operation that provides this link. (Applicable only to Curves and Surfaces with construction history.)
Display of Query Information in Visual form
In addition to the text information, Query mode also shows the construction history visually.
When you query an object with no construction history, (for example, a curve) the curve becomes highlighted and the floating information window appears.
When querying objects with construction history, the construction history-related dependencies between objects are shown. The term construction history dependencies refers to the implied hierarchy of objects linked to one another through the construction history mechanism. For example, if you used four curves to build a surface with construction history, and you query one of the curves in any window, you will see the surface produced as a result of the curve.
The following figure shows a surface built from four curves using Square with construction history. You can see the result of a the curve queried below.

Similarly, by querying the surface, you can see the curves used to produce the surface.
Both the object queried and the curves built from the curves or surfaces appear in different colors.
· The queried object appears in yellow.
· Curves and surfaces it was built from appear in green.
· Curves and surfaces built from it appear in blue.
aliasdocs@aw.sgi.com
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights
reserved.