Std TreeCollapseDocument: Difference between revisions

From FreeCAD Documentation
(Created. 'In progress' for now.)
 
No edit summary
Line 23: Line 23:
==Description==
==Description==


The '''Std TreeCollapseDocument''' command switches the [[Tree_view|Tree view]] document mode to 'TreeCollapseDocument'. In this mode activating a document’s [[3D_view|3D view]] will automatically expand that document in the Tree view and collapse all other documents. The other document modes are '[[Std_TreeSingleDocument|TreeSingleDocument]]' and '[[Std_TreeMultiDocument|TreeMultiDocument]]'.
The '''Std TreeCollapseDocument''' command switches the [[Tree_view|Tree view]] DocumentMode to CollapseDocument. In this mode activating a document’s [[3D_view|3D view]] will automatically expand that document in the Tree view and collapse all other documents. The other modes are [[Std_TreeSingleDocument|SingleDocument]] and [[Std_TreeMultiDocument|MultiDocument]].


==Usage==
==Usage==


# Select the {{MenuCommand|View → TreeView actions → [[Image:Std_TreeCollapseDocument.svg|16px]] Collapse/Expand}} option from the menu.
# Select the {{MenuCommand|View → TreeView actions → [[Image:Std_TreeCollapseDocument.svg|16px]] Collapse/Expand}} option from the menu.

==Preferences==

The Tree view DocumentMode mode is stored: {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → TreeView → DocumentMode}}. It is an integer value. Possible values are {{incode|0}} (SingleDocument), {{incode|1}} (MultiDocument) or {{incode|2}} (CollapseDocument). The default is {{incode|2}}.


{{Docnav
{{Docnav

Revision as of 10:05, 13 April 2020

This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.


Std TreeCollapseDocument

Menu location
View → TreeView actions → Collapse/Expand
Workbenches
All
Default shortcut
None
Introduced in version
-
See also
Std TreeSingleDocument, Std TreeMultiDocument

Description

The Std TreeCollapseDocument command switches the Tree view DocumentMode to CollapseDocument. In this mode activating a document’s 3D view will automatically expand that document in the Tree view and collapse all other documents. The other modes are SingleDocument and MultiDocument.

Usage

  1. Select the View → TreeView actions → Collapse/Expand option from the menu.

Preferences

The Tree view DocumentMode mode is stored: Tools → Edit parameters... → BaseApp → Preferences → TreeView → DocumentMode. It is an integer value. Possible values are 0 (SingleDocument), 1 (MultiDocument) or 2 (CollapseDocument). The default is 2.