add

Description

This function adds a module to the network.

Syntax

node.add(“parent_group_path”, “name”, “type”, X, Y, Z);

Arguments

“parent_group_path”, “name”, “type”, X, Y, Z

parent_group_path: The path of the parent node into which you want to add this module.
name: The name of the module you will add.
type: The type of module you will add. The module types are like: READ, COMPOSITE, PEG, QUADMAP, SHADOW, etc.
X: The X position of the module in the Network View.
Y: The Y position of the module in the Network View.
Z: The Z position of the module in the Network View. This property is important when two modules overlap.

Related Topics 

Node