poIResultCtrl SetDisplaySelectionSet
Assigns a selection set for a given context on the result ctrl handle to display the plot on entities in the set. Note that this is only supported in async HyperView.
Syntax
poIResultCtrl_handle SetDisplaySelectionSet context idstr
Application
HyperView Tcl Modify
Description
This command sets a selection set to the result controller for a given context which will be used to display the plots on those entities in the set.
Inputs
- context
- The context for which display selection set is to be applied. Valid options include: scalar, vector, tensor, and iso.
- idstr
- The string which fully defines the selection set. It is a locator string which may be a pool ID string.
Example
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 SetDisplaySelectionSet 5 scalar
set rid [window_handle AddResult myplot scalar]
resctrl_handle PlotResult $rid scalar
hwi CloseStack
Errors
None.