poIResultCtrl RemoveLayerFilter
Removes the layer filter with the given ID.
Syntax
poIResultCtrl_handle RemoveLayerFilter layer_filter_id
Application
HyperView Tcl Modify
Description
This command removes the layer filter with the given ID from the layer filters available in the result control.
Inputs
- layer_filter_id
- The ID of the layer filter to be removed.
Example
To create a layer filter with an ID of "2" for subcase 1, with a data type of “Composite
Stress” (for a result file containing the following data type list: {“Displacement” “Strain”
“Composite Stress”}) and then remove the layer filter with an ID of
"2":
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 RemoveLayerFilter 2
hwi CloseStack
Errors
Returns an error if the result controller handle is invalid and if the filter ID is invalid.