| Label | Explanation | Data Type | 
| Input Utility Network
 | The utility network from which subnetwork controllers will be exported. | Utility Network; Utility Network Layer | 
| Output File
 | The location and name of the .csv file to be generated. | File | 
Summary
Exports subnetwork controllers from a utility network to a .csv file.
Subnetwork controllers are features that have been set as subnetwork controllers in the Modify Subnetwork Controller pane. The exported .csv file will contain information about the device features that are currently set as subnetwork controllers. The .csv file generated by this tool can be used as input to the Import Subnetwork Controllers tool.
Usage
- One or more subnetwork controllers must be present in the specified utility network. 
- 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 .csv file follows this format: SUBNETWORKCONTROLLERNAME, FEATUREGLOBALID, FEATURECLASSNAME, FEATUREASSETGROUP, FEATUREASSETTYPE, FEATURETERMINAL, TIERNAME, SUBNETWORKNAME, DESCRIPTION, NOTES. - .csv columns- Column - Description - Example - SUBNETWORKCONTROLLERNAME - The name of the subnetwork controller set on the device or junction object. - South Side Substation - FEATUREGLOBALID - The global ID of the subnetwork controller feature. - {1CAF7740-0BF4-4113-8DB2-654E18800028} - FEATURECLASSNAME - The feature class or table of the subnetwork controller feature. - ElectricDistributionDevice - FEATUREASSETGROUP - The asset group of the subnetwork controller feature. - Circuit Breaker - FEATUREASSETTYPE - The asset type of the subnetwork controller feature. - Air Powered - FEATURETERMINAL - The terminal of the subnetwork controller feature. - Load - TIERNAME - The name of the tier to which the subnetwork controller feature belongs. - Medium Voltage - SUBNETWORKNAME - The name of the subnetwork in which the subnetwork controller participates. - RMT003 - DESCRIPTION - The description for the subnetwork controller. - CB1 - NOTES - Any notes entered for the subnetwork controller. - RMT003 Substation 
Parameters
arcpy.un.ExportSubnetworkControllers(in_utility_network, out_csv_file)
| Name | Explanation | Data Type | 
| in_utility_network | The utility network from which subnetwork controllers will be exported. | Utility Network; Utility Network Layer | 
| out_csv_file | The location and name of the .csv file to be generated. | File | 
Code sample
Export subnetwork controllers from a utility network named GridNetwork to a file named mySources.csv.
import arcpy
arcpy.ExportSubnetworkControllers_un("GridNetwork", "C:\\Temp\\mySources.csv")Environments
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes