StateIndexFromLabel Property

Startpage
Overview
Index
HAPI
   |
   HAPI.Node
      |
      StateIndexFromLabel(strState As String) [[As Long]]

Syntax

Property StateIndexFromLabel(strState As String) [[As Long]]

Access

read

Parameter description

NameTypeDescription
strStateString The label 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) with the given label. If the label is not found -1 is returned

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