poIAdvancedQuery GetOutputSelectionSethandle
Gets the selection set handle which holds the IDs of the result output.
Syntax
advancedQuery_handle GetOutputSelectionSethandle querySelectionSet_handle
Application
HyperView Tcl Query
Description
This command is used to get the selection set handle for the output results.
Inputs
- querySelectionSet_handle
- Returns the selection set handle.
Example
To get the selection set handle for the advanced
query:
hwi OpenStack
hwi GetActiveClientHandle client
set ruleID [client AddQueryRule extreme]
client GetQueryRuleHandle rule_handle $ruleID
rule_handle SetExtreme "TopN 3"
set advQueryID [client AddAdvancedQuery]
client GetAdvancedQueryHandle advancedQuery_handle $advQueryID
advancedQuery_handle AddSimulations "current" "current"
advancedQuery_handle SetQuery "entity.id entity.value"
advancedQuery_handle SetQueryLogic "[rule_handle GetID]"
advancedQuery_handle GetValueList
advancedQuery_handle GetOutputSelectionSetHandle set_handle
hwi CloseStack
Errors
This command returns HW_InvalidHandle
, if the core object associated with
the advanced query handle does not exist anymore.