Imports subnetwork controllers from a .csv file into a utility network.
The .csv file generated by the Export Subnetwork Controllers tool can be used as input to this tool. The imported .csv file will modify properties on existing features in the utility network to set those features as subnetwork controllers.
When working with an enterprise geodatabase, the Input Utility Network must be from a database connection established as the database utility network owner.
Subnetwork controllers must be in the correct CSV format and contain the required columns.
Features listed in the .csv file must exist in the utility network and meet the prerequisites to be set as a subnetwork controller.
The information in the .csv file follows this format: SUBNETWORKCONTROLLERNAME, FEATUREGLOBALID, FEATURECLASSNAME, FEATUREASSETGROUP, FEATUREASSETTYPE, FEATURETERMINAL, TIERNAME, SUBNETWORKNAME, DESCRIPTION, NOTES.
Column Description Example
The name of the device or junction object feature that has been set as a subnetwork controller.
The global ID of the subnetwork controller feature.
The feature class or table of the subnetwork controller feature.
The asset group of the subnetwork controller feature.
The asset type of the subnetwork controller feature.
The terminal of the subnetwork controller feature.
The name of the tier to which the subnetwork controller feature belongs.
The subnetwork controller name.
The description for the subnetwork controller.
Any notes entered for the subnetwork controller.
RMT001 Circuit breaker
The utility network to which the subnetwork controllers will be imported.
|Utility Network; Utility Network Layer|
The .csv file containing the subnetwork controllers to import.
The updated utility network.
This sample script imports subnetwork controllers from a .csv file named mySources.csv into a utility network named GridNetwork.
import arcpy arcpy.ImportSubnetworkControllers_un("GridNetwork", "C:\\Temp\\mySources.csv")
- Basic: No
- Standard: Yes
- Advanced: Yes