Delete Terminal Configuration (Utility Network)

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.

Parameters

LabelExplanationData Type
Input Utility Network

The utility network that contains the terminal configuration to be deleted.

Utility Network; Utility Network Layer
Name

The name of the terminal configuration to delete.

String

Derived Output

LabelExplanationData Type
Updated Utility Network

The updated utility network.

Utility Network

arcpy.un.DeleteTerminalConfiguration(in_utility_network, terminal_configuration_name)
NameExplanationData 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

NameExplanationData Type
out_utility_network

The updated utility network.

Utility Network

Code sample

DeleteTerminalConfiguration example (Python window)

Delete the Dual terminal configuration from the utility network.

import arcpy
arcpy.DeleteTerminalConfiguration_un('Utility Network', 'Dual terminal')

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: No
  • Standard: Yes
  • Advanced: Yes

Related topics