Title Assign Terminals
Adds an attribute rule to the device and line classes in the Utility Network domains to manage the values of the From and To terminal fields on the line class.
The Utility Network rules are used to determine what terminal values should be set.
The tool's logic will look at terminals that have already been assigned and set the value to the unassigned terminal.
License
StandardToolset
Utility Network
AssignTerminals (in_table, out_folder, in_utility_network, {assign_no_candidates}, {honor_direction}, {reset_when_none})
Parameter | Explanation | Data Type |
---|---|---|
in_table |
Dialog Reference
The table or feature class that will have the new rule applied. |
DEFeatureClass |
out_folder |
Dialog Reference
The folder where the output CSV will be saved. The name of the file is taken from in_table. |
DEFolder |
in_utility_network |
Dialog Reference
The input utility network. |
DEUtilityNetwork |
assign_no_candidates (Optional) |
Dialog Reference
This option will assign a valid terminal, lowest terminal ID, when all terminals have been previously assigned to existing lines. |
GPBoolean |
honor_direction (Optional) |
Dialog Reference
In the case where a line can connect to more than one terminal, and the terminal configuration is directional, use the digitized direction to set the terminal value. For instance, a pipe has rules that allow it to connect to the input(upstream) and output(downstream) of a pump. If you sketch the line and end at the pump, the terminal assigned will be the input terminal. If you sketch the line and start at the pump, the terminal assigned will be the output terminal. |
GPBoolean |
reset_when_none (Optional) |
Dialog Reference
If a line has a terminal assigned, and the snapped point's Asset Group/Type changes, the point is deleted, or the line is moved, this option allows you to reset the terminal if no rules are present as a result of the edit. |
GPBoolean |