ENaddnode: Adds a new node
Description
Adds a new node
Usage
ENaddnode(nodeid, nodetype)
Value
index the index of the newly added node
Arguments
- nodeid
name of the node to be added
- nodetype
the type of node being added. One of: EN_JUNCTION, EN_RESERVOIR, EN_TANK
Details
When a new node is created all of its properties are set to 0.