ENdeletenode {epanet2toolkit} | R Documentation |
Deletes a node
Description
Deletes a node
Usage
ENdeletenode(nodeindex, actionCode)
Arguments
nodeindex |
the index of the node to be deleted. |
actionCode |
the action taken if any control contains the node and its links: EN_UNCONDITIONAL or EN_CONDITIONAL. |
Details
If 'actionCode' is EN_UNCONDITIONAL then the node, its incident links and all simple and rule-based controls that contain them are deleted. If set to EN_CONDITIONAL then the node is not deleted if it or its incident links appear in any controls and error code 261 is returned.
[Package epanet2toolkit version 1.0.5 Index]