CollapseTree

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > Tree >

CollapseTree

Description

Collapses the currently selected Tree item.

Syntax

call DBWShell("CollapseTree [UniqueID]")

Parameters

UniqueID

Optional.Unique id of the document to collapse if different from the currently selected one.
0:collapse the whole Project Tree

Remarks

The browser must be open

See also

ExpandTree command.

Example

Collapse the subtree of the currently selected record

DBWShell("CollapseTree")

Collapse the subtree of the record with uid=1234

DBWShell("CollapseTree 1234")

Collapse the whole Project Tree

DBWShell("CollapseTree 0")