ENgetresultindex | R Documentation |
Retrieves the order in which a node or link appears in an output file.
ENgetresultindex(type, index)
type |
a type of element (either EN_NODE or EN_LINK). |
index |
the element's current index (starting from 1). |
If the element does not appear in the file then its result index is 0.
This function can be used to correctly retrieve results from an EPANET binary output file after the order of nodes or links in a network's database has been changed due to editing operations.
the order in which the element's results were written to file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.