Script Detailed Description


In an ISBL system, nodes can have some of several properties. First, a drain may or may not be present at a node. This is addressed by the script DRAININPUT. Second, a drain may or may not be ventilated. If the drain is ventilated, it is considered a manhole. One which is not ventilated is considered a junction. Most nodes will be junctions (closed nodes).

This script is called by the script SORTPOINT. It was created to allow the user to select the points which represent manholes on an ISBL system. A column, "Manhole", is created in the node attribute table. Each node has a default value of zero in the new column. The user is prompted to click on the nodes which are manholes. When the user clicks on the nodes, the value in the column is set to 1. A graphic (red dot) is then placed at that node, to indicate it is a manhole.

Key Avenue commands used:
Ftab.FindField
Ftab.SetEditable
aView.GetDisplay.ReturnUserPoint
aTheme.FindByPoint
GraphicShape.Make
aGraphicShape.GetSymbol
aSymbol.SetSize
aSymbol.SetColor
aView.GetGraphics.Add
aFtab.SetValue

Return to Update document