SclViewport getActive
Overview
You use this command to determine the reference handle for the active viewport.
Synopsis
SclViewport getActive
Description
Get the reference handle to the active viewport. This handle is used to access the available set of viewport functions and the SclSetValueByName and SclGetValueByName attribute commands. There must always be an active viewport.
Arguments
- getActive
A literal string to identify the function.
Returns
This command returns a reference handle to the active viewport.
Examples
# Get the active viewport set vp [SclViewport getActive] puts "Active viewport Id is [$vp SclGetValueByName title]" |