poIPost GetAdvancedQueryHandle

Gets the handle to the advanced query.

Syntax

client_handle GetAdvancedQueryHandle advquery_handle id

Application

HyperView Tcl Query

Description

This command is used to get the advanced query handle with a specified ID.

Inputs

advquery_handle
Gets the advanced query handle.
id
Accepts the ID of the advanced query which is an integer.

Example

To get the advanced query handle:
hwi OpenStack
hwi GetActiveClientHandle client
set ruleID [client AddQueryRule mindist]
client GetQueryRuleHandle distance_rule_handle $ruleID
distance_rule_handle SetDistance "20"
hwi CloseStack

Errors

This command returns HW_InvalidHandle, if the core object associated with the client handle does not exist anymore.