poIQueryIgnoreElemTypeRule 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".

Example

To set the selection of sets to the advanced query:
hwi OpenStack 
hwi GetActiveClientHandle client 
set ruleID [client AddQueryRule ignoreelemtype] 
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.