poIQueryDistanceRule SetStartAt

Sets the distance rule starting point to the advanced query.

Syntax

rule_handle SetStartAt startPoint

Application

HyperView Tcl Modify

Description

This command is used to set the starting point of the distance rule to the advanced query.

Inputs

startPoint
Accepts only a Min or Max value for the start point.

Example

To set the start point to the distance rule:
hwi OpenStack
hwi GetActiveClientHandle client
set ruleID [client AddQueryRule mindist]
client GetQueryRuleHandle rule_handle $ruleID
rule_handle SetDistance "30"
rule_handle SetStartAt Min
set advQueryID [client AddAdvancedQuery]
client GetAdvancedQueryHandle advancedQuery_handle $advQueryID
advancedQuery_handle AddSimulations “current” “current”
advancedQuery_handle SetQueryRule "[rule_handle GetID]" 
advancedQuery_handle SetQuery “entity.id entity.value”
advancedQuery_handle GetValueList
hwi CloseStack

Errors

This command returns HW_Error, if an invalid value is passed to the starting point of the distance rule.