Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

Description

Returns the index of the active workspace view.

Each workspace view is assigned an index number. If the view is not split, the single view index is 0. If the view is split, index number increases, moving top to bottom then left to right.

This command returns the index number for the selected or active view when run.

Functional area

Interface

Command syntax

Syntax

getActiveView

Arguments

None

Flags

None

Return value

integer

Examples

// Prints the active view index number to the command line 
int $temp = `getActiveView`;
print $temp;

Additional information

Related commands

  • No labels