poILayerFilter GetSubcase

Gets the subcase ID with which the layer filter has been created.

Syntax

poILayerFilter_handle GetSubcase

Application

HyperView Tcl Query

Description

This command returns the subcase ID with which the layer filter has been created.

Example

To create the layer filter, get the handle for the filter, and then get the subcase ID from which the filter has been created:
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 CreateLayerFilter 1 "Composite Stress" 2
result_handle GetLayerFilterHandle filter_handle 1
set sub_id [filter_handle GetSubcase]
hwi CloseStack

Errors

Returns zero if the layer filter controller handle is invalid.