GetViewIndex

導入

v5.1

詳細

カーソルが置かれている 3D ビューのインデックスを戻します。カーソルが置かれているビューがない場合は、アクティブな 3D ビューを戻します。

スクリプト構文

GetViewIndex();

VBScript の例

' Get the active 3D view index

l_Index = GetViewIndex

Application.LogMessage "Active view index: " & l_Index

'INFO : Active view index: 1