poIQueryDistanceRule GetDistance

Gets the distance value from the advanced query.

Syntax

rule_handle GetDistance

Application

HyperView Tcl Query

Description

This command is used to get the distance value from the advanced query.

Example

To get the distance value from the advanced query:
hwi OpenStack
hwi GetActiveClientHandle client
set ruleID [client AddQueryRule mindist]
client GetQueryRuleHandle rule_handle $ruleID
rule_handle SetDistance "30"
rule_handle GetDistance
hwi CloseStack

Errors

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