Import Rules (Utility Network Tools)
Summary
Import connectivity, structural attachment, and containment rules from a comma-separated values file into an existing utility network.
Usage
The information in the
.csvfile includes the following columns:RULETYPE,FROMFEATURECLASS,FROMASSETGROUP,FROMASSETTYPE,FROMTERMINAL,TOFEATURECLASS,TOASSETGROUP,TOASSETTYPE,TOTERMINAL,VIAFEATURECLASS,VIAASSETGROUP,VIAASSETTYPE, andVIATERMINAL..csvcolumnsColumn
Description
Example
RULETYPEThe type of rule.
Junction Junction Connectivity, Junction Edge Connectivity, Edge Junction Edge Connectivity, Containment, Structural Attachment
FROMFEATURECLASS,TOFEATURECLASSThe feature class participating in the rule.
ElectricDistributionDevice, ElectricDistributionAssembly, StructureDevice
FROMASSETGROUP,TOASSETGROUPThe asset group participating in the rule.
Arrester, BreakerBank, JunctionBox, Switch
FROMASSETTYPE,TOASSETTYPEThe asset type participating in the rule.
Tie Switch, Padmount, Overhead hood stick, Overhead gang operated
FROMTERMINAL,TOTERMINALThe terminal participating in the rule. An asterisk (*) indicates that the rule applies to all terminals if the asset type has terminals.
Single Terminal, Load, Source
VIAFEATURECLASS,VIAASSETGROUP,VIAASSETTYPE,VIATERMINALThese columns are used only for edge-junction-edge connectivity rules. These are the connecting feature class, asset group, asset type, and terminal that are included in the rule.
ElectricDistributionLine, Medium Voltage, Single Phase Overhead, Load
For containment rules, the
FROMentry must be the container and theTOentry must be the content. Regarding structural attachment rules, theFROMentry must be the structure and theTOentry must be the structural attachment. Entry ordering does not pertain to junction-junction, junction-edge, and junction-edge-junction connectivity rules.This tool can be used in conjunction with the Export Rules tool.
The network topology must be disabled.
When working with an enterprise geodatabase, the connected ArcGIS Enterprise portal account must be the portal utility network owner.
When working with an enterprise geodatabase, the Input Utility Network parameter value must be from a database connection established as the database utility network owner.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Utility Network |
Specifies the utility network to import the rules to. |
Utility Network; Utility Network Layer |
|
Rule Type |
Specifies the type of rules to import.
|
String |
|
Input File |
Specifies the |
File |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Updated Utility Network |
The updated utility nework. |
Utility Network |
Environments
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes