SetTreePageSplitterPosition

<< Click to Display Table of Contents >>

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

SetTreePageSplitterPosition

Description

Sets the splitters positions in the Tree Page.

Syntax

call DBWShell("SetTreePageSplitterPosition splitterID Xcoord Ycoord")

Parameters

splitterID

The name of the splitter to set:
0 for splitter between project and preview area
G for splitter between the preview window and the grids

Xcoord

a value between 0 and 1 for the x-position of the splitter

Ycoord

a value between 0 and 1 for the y-position of the splitter

Remarks

The measure of Xcoords and Ycoords is intended to be in a 0-1 interval.

There is a special parameter , APPLY, that performs the refresh of the browser window. It's advisasble to use it once you finished with splitters setting.

warningDBWorks browser must be open.

See also

SetDocPageSplitterPosition command

Example

DBWShell("SetTreePageSplitterPosition 0 0 0.1")
DBWShell("SetTreePageSplitterPosition G 0 0.4")
DBWShell("SetTreePageSplitterPosition APPLY")