Import Associations (Utility Network Tools)
Summary
Imports associations from a comma-separated values file (.csv) into an existing utility network. This tool can be used in conjunction with the Export Associations tool.
Usage
Associations must be in a single
.csvfile.Features listed in the
.csvfile must exist in the utility network.Features listed in the
.csvfile must have supporting rules.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.
The information in the
.csvfile is stored in the following format:ASSOCIATIONTYPE,FROMFEATURECLASS,FROMASSETGROUP,FROMASSETTYPE,FROMGLOBALID,FROMTERMINAL,TOFEATURECLASS,TOASSETGROUP,TOASSETTYPE,TOGLOBALID,TOTERMINAL,ISCONTENTVISIBLE,PERCENTALONG.When the Input Utility Network parameter references a utility network that contains a telecom domain network, the
.csvfile requires four additional columns:FROMFIRSTUNIT,FROMLASTUNIT,TOFIRSTUNIT, andTOLASTUNIT. When a telecom domain network is present, these header fields are required even if the target domain network is a traditional domain network. To learn more, review the Associations table help topic..csvcolumnsColumn
Description
Example
ASSOCIATIONTYPEThe type of association.
Junction Junction Connectivity
Junction Edge From Connectivity
Junction Edge Midspan Connectivity
Junction Edge To Connectivity
Containment
Structural Attachment
Containment
FROMFEATURECLASS/TOFEATURECLASSThe feature class or object participating in the association.
ElectricDistributionDevice, ElectricDistributionAssembly, StructureJunction
FROMASSETGROUP/TOASSETGROUPThe asset group of the feature.
Transformer, Fuse, Elbow
FROMASSETTYPE/TOASSETTYPEThe asset type of the feature.
Streetlight, Attachment, Single-phase padmounted
FROMGLOBALID/TOGLOBALIDThe global ID of the feature.
{16558C73-013C-4169-A095-7E9DCD57EB57}
FROMTERMINAL/TOTERMINALThe terminal participating in the association. This is only applicable to junction-junction connectivity associations.
Single Terminal, Load, Source
ISCONTENTVISIBLEA Boolean flag indicating whether the content is visible. This is only applicable to containment associations.
False, True
PERCENTALONGThe percent along value for junction-edge midspan connectivity associations between a junction object and an edge object.
0.75
FROMFIRSTUNIT/TOFIRSTUNITThe first unit ID of the FROM or TO side grouping. This is only required when the Input Utility Network parameter references a utility network that contains a telecom domain network.
1
FROMLASTUNIT/TOLASTUNITThe last unit ID of the FROM or TO side grouping. This is used along with the From and To first unit attributes to determine the size of the contiguous group that is connected on the FROM or TO side. This is only required when the Input Utility Network parameter references a utility network that contains a telecom domain network.
12
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Utility Network |
The utility network to which the associations will be imported. |
Utility Network; Utility Network Layer |
|
Association Type |
Specifies the type of association that will be imported.
|
String |
|
Input File |
The |
File |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Updated Utility Network |
The updated utility network. |
Utility Network |
Environments
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes