Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

epanet2toolkit (version 1.0.8)

ENdeletenode: 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.