Script Detailed Description


The script HARDPIPE creates the table which stores data on hard pipe connections in the industrial sewer network. It creates a new table called hardpipe.dbf with fields for node connectivity, flow rate, temperature, concentration, and oil fraction.

This script should be run in conjunction with the script HPSELECT. This is done by customizing the project, adding a new tool to the view, with HPSELECT as the Apply event and HARDPIPE as the click event. HARDPIPE will then create the new table, and prompt the user to click on nodes where hard pipe connections occur. By doing this, they apply HPSELECT.

Note that iIt is assumed that hard pipe connections are not drawn as branches in the drawing file of the sewer network.

Key Avenue commands used:
Field.Make
aTable.AddFields
aTable.FindFields
Table.Make
aTable.SetName
MsgBox.Info

Return to Update document