poIResultCtrl GetLayerFilterHandle

Gets the handle for a layer filter.

Syntax

poIResultCtrl_handle GetLayerFilterHandlelayer_filter_handle layer_filter_id

Application

HyperView Tcl Query

Description

This command returns the layer filter for a given layer filter ID. This handle can be further used to modify/update the layer filter.

Inputs

layer_filter_handle
The layer filter handle.
layer_filter_id
The ID of the layer filter to which the handle is required.

Example

To create the layer filter, get the handle for the filter, and then add layers to the filter:
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
filter_handle AddLayer “Ply 1”
filter_handle AddLayer “Ply 10”

hwi CloseStack

Errors

Returns an error if the result controller handle is invalid, or if the the layer filter with the given ID does not exist.