Adds queries to a Drawings by Rule component. Before adding queries, you should add
views and reports on the General Tab (Setup Dialog - Drawings by Rule).
View Type Filter and Query Definition
The view type filter definitions drive the views created when the query runs.
Select All (for Where filter) or View Type (for What filter)
Shows a list of the view types available for query definition. Select one of the following
options:
All
Specifies objects to collate based on their location, not their type. You must select
a where filter for the location in the model used for all view definitions in the component.
An individual view type
Specifies the object types to collate. The available view types are defined on the
General Tab (Setup Dialog - Drawings by Rule) of the Setup Dialog (Drawings by Rule Component). Optionally, select a what filter for the type of object. You must also select a collation rule.
Run Query
Runs the current query definition with the specified filter to populate the rest of
the query parameters. The Queries tab updates with all the necessary query definition fields.
Filter
Specifies the filter to use for this query definition. Select More in the dropdown to display the Select Filter Dialog, and choose from a list of available filters. Select Create New Filter to create a new filter with the Filter Properties Dialog. The drop-down list also provides a list of previously selected filters.
Some queries are run frequently but need customized values for the filter, called
an asking filter. Select User of filter supplies value on the Filter Properties Dialog to create an asking filter. For example, select BO, Include nested objects, and User of filter supplies value on the Filter Properties Dialog. Click Ask Filter Inputs to select a block or an assembly.
Properties
Displays the Filter Properties Dialog so that you can modify the currently selected filter as needed.
Remove Filter
Removes the specified filter from the currently selected view type query definition.
Ask Filter Inputs
Displays the Filter Properties for Asking Filter dialog, which allows selection of a value for the asking filter. The dialog is the
same as the Filter Properties Dialog, except that only the appropriate tabs for the asking filter are displayed. This
command is available only when the filter has an asking filter specified.
Select Collation Rule
Specifies how model objects are gathered into views when the drawings for this Drawing
by Rule component are created. Collation Rules are part of the reference data in the Catalog.
View Query Results
When you click Run Query against the current view type query definition, the view queries display in the lower
portion of the dialog. You can make changes to the results as needed.
Manage Views
Allows you to select multiple views in Select View to create () or delete ().
Select View
Shows the views created when the view type query ran. If this list is empty, you need
to click Apply Filter to run the query and populate the view query definitions.
Indicates the views that the Create Drawing(s) Command creates.
Indicates the views that the Create Drawing(s) Command does not create.
Query
Specifies the value for a query applied to the selected view. Each view can have more
than one query applied. You can select each query and update the values.
A view query specifies the type of model object or parameter value used by the view
definition. The list of available queries is specific to the selected package. The
drawings by rule queries are most commonly used.
Drawings by Rule Queries
1. Any system, part, or reference plane
Defines the query by the selected outfitting or structural systems or parts, or a
selected reference plane. When systems are selected, the parts belonging to the systems
are used. Select objects that support the type of drawing view you want to create.
A value for this query is required. The following can be set:
-
Plate parts or systems.
-
Profile parts or systems.
-
Member parts or systems.
-
Outfitting parts or systems, including pipe lines, pipe runs, pipe parts, hangers
and supports, and equipment.
-
Reference planes from any coordinate system.
Selections can be made manually using Associate Objects to Views in the SmartSketch Drawing Editor. Selections can also be specified automatically as output of an applicable collation
rule. See Collation Rules in Drawings by Rule in the Drawings and Reports Reference Data or Collation Rules in the Orthographic Drawings Help.
2. Boundary (Block, volume, or assembly)
Defines the boundaries of a query by a selected planning block, volume, assembly,
or assembly block. A value for this query is optional.
3. Gathering rule
Defines the type of parts gathered in the drawing view. The rule provides a definition
of the objects to be gathered and drawn in a view. The gathering rule starts with
the inputs selected in Any system, part, or reference plane and adds more objects to the view based on their relationships to each other. This
option opens the Select Gathering Rule dialog box. Select a rule that supports the type of drawing view you want to create,
such as Steel Order or Assembly. A value for this query is required. The default value is Steel Order.
4. Gathering method
Defines how model objects are included in the drawing view. The volume selected with
Block, volume, or Assembly or created with Volume creation rule is used as input for the gathering method.
-
Gather related objects in volume - Parts are gathered based on connections to the selected parts resulting from Any system, part, or reference plane. If a volume is defined for Volume creation rule, only connected objects in the volume are gathered.
-
Gather all objects in volume - All parts in the volume are gathered even if they are not connected to the selected
parts resulting from Any system, part, or reference plane. If a volume is not defined for Volume creation rule, this option is not valid. This is the default value.
Relationships (such as parent/child or bounded/bounding) for all gathered objects
are also gathered and used by the selected Gathering rule.
5. Volume creation rule
Defines the volume for the view by one of the following methods:
Create volume along surface of input parts with boundary extents
The volume follows the surfaces of the selected parts resulting from Any system, part, or reference plane. The volume depth (normal to the view) is extended by the values of Volume growth into drawing and Volume growth out of drawing. The volume area (in the plane of the view) is extended to (or clipped by) the boundaries
defined by Boundary (Block, volume, or assembly). The gathering range is extended by the values defined by Extend Into and Extend Out Of.
Create volume along surface of input parts without boundary extents
The volume follows the surfaces of the selected parts resulting from Any system, part, or reference plane. The volume depth (normal to the view) is extended by the values of Volume growth into drawing and Volume growth out of drawing. The volume area (in the plane of the view) is not extended to (nor clipped by) the
boundaries defined by Boundary (Block, volume, or assembly). The gathering range is extended by the values defined by Extend Into and Extend Out Of.
Create volume from range box around input parts with boundary extents
The volume is a rectangular range box around the selected parts resulting from Any system, part, or reference plane. The volume depth (normal to the view) is extended by the values of Volume growth into drawing and Volume growth out of drawing. The volume is extended to (or clipped by) the boundaries defined by Boundary (Block, volume, or assembly). See the corrugated bulkhead example below.
Create volume from range box around input parts without boundary extents
The volume is a rectangular range box around the selected parts resulting from Any system, part, or reference plane. The volume depth (normal to the view) is extended by the values of Volume growth into drawing and Volume growth out of drawing. The volume is not extended to (nor clipped by) the boundaries defined by Boundary (Block, volume, or assembly). See the corrugated bulkhead example below.
Create oriented volume around input parts without boundary extents
The volume is a rectangular box around the parts. The box is oriented around parts
to minimize the volume. The parts are typically not orthogonal, but the view direction
is typically normal to the box. The volume depth (normal to the view) is extended
by the values of Volume growth into drawing and Volume growth out of drawing.
-
If the view direction is not normal to the box, then the volume is extended to (or clipped by) the boundaries defined
by Boundary (Block, volume, or assembly) instead of Volume growth into drawing and Volume growth out of drawing.
-
If the view direction is normal to the box, then the volume is extended to (or clipped
by) Volume growth into drawing and Volume growth out of drawing. These values can be positive or negative.
Do not create volume
A volume is not used to restrict gathering using gathering rule. For example, a shell
longitudinal profile view does not use a volume. It instead uses levels to gather
secondary parts.
The volume selected with Boundary (Block, volume, or assembly) or created with Volume creation rule is also used for view clipping in the graphic rule.
For other queries, see the appropriate drawing type under Drawings by Rule View Style Rule Sets in the Smart 3D Drawings and Reports Reference Data.
Value
Identifies the values generated when you ran the query using the Apply Filter button.
Edit
Allows you to edit the selected query value. In the following example, Query is changed to Block (Optional). Click Edit to select a new filter (from the Assembly Tab) as the value for the query.
Reset
Resets the values back to their original state for the specified query.
Default
Sets the current value as the default for the current view query definition.
Clear
Removes assemblies or blocks in the Value list. You can then click Filter again, and select new values for the query. This option is available only when assemblies
or blocks are selected in Query.
See Also
Setup Command (Drawings by Rule Component)
Setup Dialog (Drawings by Rule Component)