poIResultCtrl GetDisplaySelectionHandle
Gets the display selection set handle. Note that this is only supported in async HyperView.
Syntax
poIResultCtrl_handle GetDisplaySelectionHandle selHandle context
Application
HyperView Tcl Query
Description
This command gets the display selection set handle.
Inputs
- context
- The context for which display selection set is to be applied. Valid options include: scalar, vector, tensor, and iso.
Example
To get the display selection set handle and then add entities to
it:
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 resctrl_handle
resctrl_handle GetDisplaySelectionSetHandle selHandle scalar
selHandle Add "id >= 10"
set rid [window_handle AddResult myplot scalar]
resctrl_handle PlotResult $rid scalar
hwi CloseStack
Errors
None.