GetViewIndex
 
 
 

GetViewIndex

Introduced

v5.1

Description

Returns the index for the 3D view under the cursor or the active 3D view if the cursor is not over a view.

Scripting Syntax

GetViewIndex();

Examples

VBScript Example

' Get the active 3D view index
l_Index = GetViewIndex
Application.LogMessage "Active view index: " & l_Index
'INFO : Active view index: 1