/
viewLayout

viewLayout

Description

This command is used for setting view types and view layouts. It changes the current interface layout to one of eight indexed layouts or changes a current view to any of the four available view types.

Using the -v options, you may configure the preset layouts to contain named layout elements in each of the views defined by any layout.

The number of views ranges from one to four. They are numbered left to right, with the first (-v1) being located in the upper left, the fourth (-v4) located in the lower right.

The argument for the type of viewLayout is optional if any of the flags are used.

Functional area

Interface

Command syntax

Syntax

viewLayout viewTypeIndex [-v1 string] [-v2 string] [-v3 string] [-v4 string] [-fullwindow boolean] [-swap] [-current string] [-active integer]

Argument

NameTypeRequiredComments
viewTypeIndex

The arguments are an integer value layout number from 1 to 8 indicating the desired view layout.

Flags

NameFlag argumentsArgument typeExclusive toComments
v11stringSet viewport 1 to specified type
v21stringSet viewport 2 to specified type
v31stringSet viewport 3 to specified type
v41stringSet viewport 4 to specified type
fullwindow1booleanSet active view to/fromfull window
swap0Swaps to previous view layout
current1stringSet the current view
active1integer

Return value

void

Examples

// Set view layout to single camera view
viewLayout 1;
viewLayout -current cameras;
// The first line in the following command configures the view
// layout to contain 3 viewports.
// The second line establishes a 3D Scene view, a Graph view,
// and a Hierarchy view.
// Note that second command does not require an argument
viewLayout 5;
viewLayout -v1 perspective -v2 graph -v3 vpl; 

Additional information

Related commands


© Copyright Vicon Motion Systems. All rights reserved.

Vicon trademarks