Copy (Node)


Description

Creates a copy of a Node object. As a side-effect, the new Node object is added to the Model object's ModelNodes collection.

Syntax

aNode.Copy(name)

 

Parameter Description
aNode a Node object.
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.

Return Value

A new Node object that is identical  (same states, parents, distribution, etc.) to the original Node object.

Applies To

Node