StateIndexFromValue Property

Startpage
Overview
Index
HAPI
   |
   HAPI.Node
      |
      StateIndexFromValue(dVal As Double) [[As Long]]

Syntax

Property StateIndexFromValue(dVal As Double) [[As Long]]

Access

read

Parameter description

NameTypeDescription
dValDouble The dVal of the state (states are index 0 to n-1 if a node has n states).

Description

The StateIndexFromLabel property gets the state index of a node state (discrete nodes only) equal to or containing the given value. If the value is not found -1 is returned

HUGIN Expert A/S, 2008 - comments to activex@hugin.com