|
This task shows you how to create
view filters, which enable you to modify the visualization of elements in a
layout design view and clean up the unused filters. |
|
Elements visualized in the 2D and 3D backgrounds of a
given layout view come from other views in the layout or from other bodies
of the part. As a result, the representation of a view can easily become
overloaded: thanks to filters, you can visualize only those elements that
are relevant for the design. |
|
There are two types of view filters:
- Display filters define a list of elements to display and possibly
overload while the remainder of the background is hidden.
- Mask filters define a list of elements to overload while the
remainder of the background is displayed in the same way as defined in
3D.
|
|
Open the Valve.CATPart
document. Double-click Sheet.1 in the specification tree to open the layout
in the 2D window. In the Visualization toolbar, make sure that
the Display Backgrounds as Specified for Each View
icon is active. |
|
-
From the layout window, right-click the Front view from
the geometry area or from the specification tree, and select Filter
> Layout View Filters....
The Layout View Filters dialog box is
displayed, enabling you to create filters.
|
The Layout View Filters dialog box contains
the following buttons:
-
Display filter...: Creates a new display
filter.
-
Mask filter...: Creates a new mask filter.
-
New from...: Creates a new filter of the
same type (Display or Mask) as the selected filter.
|
Once created, this filter is not associative with the original
filter. |
-
Delete: deletes the selected filter or
filters.
|
This button is not available if you accessed the Layout
View Filters dialog box through the contextual menu of a
view. |
-
Clean up: deletes all the
unused
filter or filters.
-
Edit...: Lets you edit the characteristics
of the selected filter through the Edit Filter dialog box.
-
Apply: Applies the selected filter to the
selected view without exiting the dialog box.
-
OK: Applies the selected filters and exits
the dialog box.
-
Close: Exits the dialog box without
validating your changes.
-
Click the Display filter... button. The Edit
Filter dialog box is displayed, and a display filter named Filter.2 is
created. You can edit this name if you want.
The Edit Filter dialog box contains the following fields
and buttons:
-
Name: lets you edit the name of the filter.
-
Visualization: lets you choose the
visualization type that should be applied to the selected elements.
The various visualization types are:
-
Standard: shows both the 2D and 3D backgrounds.
-
Unpickable: prevents selecting all elements in both the 2D and
3D backgrounds, even though you can see them. You can just handle 2D
elements, which belong to the current view.
-
Low-intensified: dims all elements in both the 2D and 3D
backgrounds.
|
When material is applied to a geometry, this option hides
the material type. |
-
Unpickable low-intensified: dims all elements in both the
2D and 3D backgrounds. Additionally, although you can see these
elements, you cannot select them. You can just handle 2D elements in
the current view.
-
Add
mode : adds to the list the elements you select in the
specification tree or in the geometry area, and filters them according
to the visualization type selected in the Visualization
list.
-
Remove mode: removes from the list the elements you select in the
specification tree or in the geometry area.
-
Select mode: lets you select elements and change their
visualization type in the Visualization list.
-
Switches to Tools Palette: transforms the Edit Filter dialog box
into a Tools Palette containing the same commands as the
dialog box.
In the Tools Palette:
-
For the purpose of this scenario, you will create a
filter that prevents PartBody from being selected using its 3D background
and that dims it.
Select the Unpickable low-intensified visualization type and
make sure the Add mode is active.
-
Select PartBody in the specification tree.
PartBody is
now added to the filter and the Unpickable low-intensified
visualization type is applied to it.
-
Click OK to validate and exit the dialog box.
-
Create more number of filters.
-
Back in the Layout View Filters dialog box, select
Filter.2 from the
Layout View Filters dialog box and click Apply.
-
Click OK.
The dialog box is closed and the newly created filter is applied to the
front view. Note that you cannot select the PartBody via the 3D
background and that it is displayed using a dimmed color.
-
Select Tools > Layout View
Filters.... The Layout View Filters dialog box is
displayed.
-
Click Clean up to
delete all the unused filters.
All the filters that are going to be deleted are highlighted.
A confirmation message box is
displayed asking you to confirm if you want to delete all the unused
filters:
Click Yes to confirm.
In the Layout View Filters dialog box, you can see that only the
Default filter and the filter
that has been applied (Filter.2) are displayed. All the other unused
filters are deleted.
|
|
To know more about view filters and filterable elements,
consult the About View Filter section. |
|