poIQuerySetRule SetSelectionSet
Sets the selection set to the advanced query.
Syntax
rule_handle SetSelectionSet locatorStr
Application
HyperView Tcl Modify
Description
This command adds/sets the selection set to the advanced query.
Inputs
- locatorStr
- Accepts the following: "pool_name id", "all", or "displayed".
Example
hwi OpenStack
hwi GetActiveClientHandle client
set ruleID [client AddQueryRule selectionset]
client GetQueryRuleHandle rule_handle $ruleID
rule_handle SetSelectionSet “User_Set 6"
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
hwi CloseStack
Errors
This command returns HW_Error
, if invalid values are passed to the locator
string.