poISystemCtrl GetLayerList

Gets a list of all the layers for the specified subcase and system type.

Syntax

sysctrl_handle GetLayerList "list" subcase_id system_type

Application

HyperView Tcl Query

Description

This command retrieves a list of all of the layers for the specified subcase and system type in the system review control.

Inputs

subcase_id
The ID of the subcase.
system_type
The type of system (element, material, or ply).

Example

To get a list of tensor plot styles:

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
variable layer_list
sysctrl_handle GetLayerList plot_list
foreach { layer } $ layer_list {
puts " Ply Name : $layer"

hwi CloseStack

Errors

Returns an error only if the system controller handle is invalid.