Add (ModelNodes)
Description
Create a new node in the model, by adding a new element to the ModelNodes collection.
Syntax
someModelNodes.Add(Name, Description, States, ParentNodes, Dist, Properties, X, Y)
Parameter Description someModelNodes a ModelNodes collection. Name Optional. A string specifying a name for the new node. If no string or the empty string is given, a new name is generated. Description Optional. A string specifying a description of the new node. If no string is given, the empty string is used. States Optional. A States collection for the new node. If the collection is private to another node, it is copied. If it is a member of SharedDomains, then it is shared. If no value is specified, a private empty States collection is used. ParentNodes Optional. A ParentNodes collection to copy for the new node. If no value is specified, an empty ParentNodes collection is used. Dist Optional. A Dist object to copy for the new node. If no value is specified, the node will be given no Dist. Properties Optional. A Properties collection to copy for the new node. If no value is specified, an empty Properties collection is used. X Optional. An x-position for the new node. y Optional. A y-position for the new node. Return Value
The Node created.
Example
Applies To