poISelectionSet GetSelectByList
Retrieves a list of valid selection methods to be used as arguments on the selection set commands Add and Subtract.
Syntax
selectionSet_handle GetSelectByList
Application
HyperView Tcl Query
Description
This command returns a list of possible specifications on the argument used on the selection set commands Add and Subtract. This command lists the specific keywords to apply selections for various criteria, such as id, component_name, adjacent, attached.
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 GetSelectionSetHandle selection_set_handle [model_handle AddSelectionSet node]
selection_set_handle SetLabel "OurNodeSelectionSet"
puts "Possible list selections: [selection_set_handle GetSelectByList]"
#adds all nodes on 2D elements
selection_set_handle Add "dimension 2"
puts "Add nodes attached to 2D elements : [selection_set_handle GetSize] [selection_set_handle GetType]s"
hwi CloseStack
Errors
This command should not return any errors.