poILayerFilter AddLayer

Adds the layer to the layer filter.

Syntax

poILayerFilter_handle AddLayer layer_name

Application

HyperView Tcl Modify

Description

This command adds the layer to the layer filter.

Inputs

layer_name
The name of the layer.

Example

To create the layer filter, get the handle for the filter, and then add a layer ("Ply 1" and "Ply 2") to the layer 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 2"
hwi CloseStack

Errors

Returns an error if the layer filter controller handle is invalid and if the layer is not available in the seed data type.