poISelectionSet GetPool
Gets the pool name for the current selection set.
Syntax
poISelectionSet_handle GetPool
Application
HyperView Tcl Query
Description
This command retrieves the pool name for the current selection set.
Example
To get the selection set's pool
name:
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]
variable setLocator
set SetLocator [model_handle AddSelectionSet element]
model_handle [GetSelectionSetHandle selection_set_handle $SetLocator]
puts "Set Pool Name: "
selection_set_handle GetPool
hwi CloseStack
Errors
Returns an error if the selection set could not be found.