name Property

Startpage
Overview
Index
HAPI
   |
   HAPI.Node
      |
      name() [[As String]]

Syntax

Property name() [[As String]]

Access

read/write

Description

The Name property of a Node object is unique for all nodes in a Bbn. When you create a node it has no name. However, as soon as you ask for a name one is automatically generated which is unique in the domain (eg. chance nodes get names like: C1, C2, ...). This property allows you to set or change the unique name. If you give a node a name which is already used by another node, this will raise an error. Also, a Name cannot be any string - it must have a format similar to C identifiers (no spaces and funny characters).

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