Summary
Deletes a terminal configuration from a utility network.
Usage
The terminal configuration cannot be assigned to any asset group or asset type in the device feature class or junction object table.
When working with an enterprise geodatabase, the connected ArcGIS Enterprise portal account must be the portal utility network owner.
The network topology must be disabled.
Deleting a terminal configuration can only be performed prior to the network topology being enabled for the first time. Once network topology has been enabled, terminal configurations cannot be deleted from the utility network. See Utility network management tasks for other examples and their required network topology state.
When working with an enterprise geodatabase, this tool must be connected to the default version when executed.
When working with an enterprise geodatabase, the Input Utility Network must be from a database connection established as the database utility network owner.
Syntax
arcpy.un.DeleteTerminalConfiguration(in_utility_network, terminal_configuration_name)
Parameter | Explanation | Data Type |
in_utility_network | The utility network that contains the terminal configuration to be deleted. | Utility Network; Utility Network Layer |
terminal_configuration_name | The name of the terminal configuration to delete. | String |
Derived Output
Name | Explanation | Data Type |
out_utility_network | The updated utility network. | Utility Network |
Code sample
Delete the Dual terminal configuration from the utility network.
import arcpy
arcpy.DeleteTerminalConfiguration_un('Utility Network', 'Dual terminal')
Environments
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes