![](../icons_C2/common/atarget.gif) |
This task explains how to hide or
show all the sub-trees that have been opened using the Open Sub-Tree
contextual command.
This command is not available when working with the Drafting or V4
Integration workbench. |
![](../icons_C2/common/aprereq.gif) |
This scenario assumes that you are already
familiar with the
Open Sub-Tree contextual command. Open the
Seat.CATProduct and the
Select.CATProduct documents. |
|
Single window
|
![](../icons_C2/common/ascenari.gif) |
-
Activate the Select.CATProduct window.
-
With the specification tree visible, click the part
instance named "Part1" then right-click and select Open Sub-Tree.
-
Select the part instance named "Part1.1" then right-click
and select Open Sub-Tree.
The result looks like this: |
![](images/viewsubtree01NLS.gif) |
-
Click the View menu. You can see that a check mark is
displayed next to the Sub-Trees command as shown below:
![](images/viewsubtree03NLS.gif) |
When the Sub-Trees command is selected,
all the sub-trees opened for the current window are displayed. |
-
Clear Sub-Trees to turn off the display of
sub-trees:
![](images/viewsubtree02NLS.gif) |
If you select the View menu again, you
see that no check mark is displayed anymore which means that all
the sub-trees linked to the current window are hidden: |
![](images/viewsubtree04NLS.gif) |
-
Select Sub-Trees: the two sub-trees you opened
previously are now shown.
|
|
Multi-window
|
|
-
Activate the Seat.CATProduct window.
-
Select Window > Tile Vertically.
-
Activate the Seat.CATProduct window. You notice that the
two sub-trees opened for the Select.CATProduct window are not displayed
since sub-trees are visible only for the current window, i.e.
Seat.CATProduct right now:
![](images/viewsubtree05NLS.gif) |
![](images/viewsubtree09NLS.gif) |
![](images/viewsubtree11NLS.gif) |
You can also see that when you select
View > Sub-Trees, the command is grayed out because no
sub-tree has been opened yet for this window. |
-
With the specification tree visible, select the part
instance named "seat" then right-click and select Open Sub-Tree.
A new window containing the sub-tree of "seat" is displayed and the
Sub-Trees command is now activated in the View menu:
-
Activate the Select.CATProduct window. The two sub-trees
opened for this window are now displayed:
-
Still with the Select.CATProduct window active, click the
View menu then clear Sub-Trees to turn off the
display of sub-trees in the current window:
-
Now, if you activate the Seat.CATProduct window again,
you can see that the sub-tree opened for this window is displayed:
![](images/viewsubtree06NLS.gif) |
![](images/viewsubtree10NLS.gif) |
![](images/viewsubtree09NLS.gif) |
The reason is
that View > Sub-Trees only affects the current window.
Therefore, you can work simultaneously with a window in which
sub-trees are shown and with a window in which sub-trees are
hidden. |
|
|
More about the Sub-Trees command
|
|
- Running Open Sub-Tree for the first time automatically
selects Sub-Trees and displays a sub-tree window.
However, when sub-trees are already hidden, Sub-Trees remains
cleared when you run Open Sub-Tree and only the last opened
sub-tree is visible.
The reason is that the Sub-Trees command impacts only
sub-trees created at the time the command is run.
- Selecting View > Specifications has no effect on sub-trees
because this command hides/shows only the specification tree of the
current window.
|
|