poIPost GetQueryRuleHandle

Gets the query rule handle from the client.

Syntax

client_handle GetQueryRuleHandle queryrule_handle id

Application

HyperView Tcl Query

Description

This command is used to get the query rule handle from the client.

Inputs

queryrule_handle
Returns the queryrule_handle for the respective query rule.
id
Accepts the rule IDs.

Example

To get the query rule handle:
hwi OpenStack
hwi GetActiveClientHandle client
set ruleID [client AddQueryRule mindist]
client GetQueryRuleHandle rule_handle $ruleID
hwi CloseStack

Errors

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