poISelectionSet GetPoolList
Retrieves the list of pool names over all entities in the current selection set.
Syntax
selectionSet_handle GetPoolList
Application
HyperView Tcl Query
Description
This command returns a list of pool names of all entities in the current selection set.
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 AddSelectionSet element
puts "Current selection sets: [model_handle GetSelectionSetList]\n"
model_handle GetSelectionSetHandle selection_set_handle 1
selection_set_handle SetLabel "OurElementSelectionSet"
selection_set_handle Add all
puts "Pool List: "
selection_set_handle GetPoolList
puts "GetList without argument:"
selection_set_handle GetList
set poolOne [lindex [selection_set_handle GetPoolList] 0]
puts "GetList with first pool name as argument:"
selection_set_handle GetList $poolOne
hwi CloseStack
Errors
This command should not return any errors.