poIQueryIgnoreElemTypeRule GetNumberAdjacent

Gets the number of adjacent elements to ignore from the advanced query.

Syntax

rule_handle GetNumberAdjacent

Application

HyperView Tcl Query

Description

This command is used to get the number of adjacent elements to ignore from the advanced query.

Example

To get the number of adjacent elements from the advanced query:
hwi OpenStack
hwi GetActiveClientHandle client
set ruleID [client AddQueryRule ignoreelemtype]
client GetQueryRuleHandle rule_handle $ruleID
rule_handle SetElementTypeList "rigidlink Quad4"
rule_handle SetNumberAdjacent 2
rule_handle GetNumberAdjacent
hwi CloseStack

Errors

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