poIPost AddQueryRule

Adds the query rule to the advanced query.

Syntax

client_handle AddQueryRule rule

Application

HyperView Tcl Modify

Description

This command adds the query rule to the advanced query.

Inputs

rule
Accepts only the following: expression, extreme, mindist, ignoreelemtype, and selectionset.

Example

To add the query rule to the advanced query:
hwi OpenStack
hwi GetActiveClientHandle client
set ruleID [client AddQueryRule mindist]
client GetQueryRuleHandle rule_handle $ruleID
hwi CloseStack

Errors

This command returns 0, if an invalid string is passed to the rule.