poISystemCtrl GetLayer

Gets the current layer for the system review control.

Syntax

sysctrl_handle GetLayer

Application

HyperView Tcl Query

Description

This command retrieves the current layer that is applied in the system review plot (for example - Ply 1, Ply 10001001, etc.). By default, this command returns the first layer.

Example

To get the current layer for a system review plot contour plot:
hwi OpenStack
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetModelHandle model_handle [client_handle GetActiveModel]
model_handle GetResultCtrlHandle result_handle
result_handle GetSystemCtrlHandle sysctrl_handle
set layer [sysctrl_handle GetLayer]
hwi CloseStack

Errors

Always returns a valid layer. If no results were attached, the system control handle is not retrievable, thus this command cannot be called.