Validate Network Topology (Utility Network)


Validates the network topology of a utility network after there have been edits to features in the network.


  • Inconsistencies between feature spatial edits and the network topology are marked with dirty areas.

  • When working with a multiuser model utility network, the Validate Network Topology geoprocessing tool takes advantage of asynchronous processing.

    The asynchronous validation process uses the UtilityNetworkTools geoprocessing service. The UtilityNetworkTools service is preconfigured in the System folder for feature services that include a utility network. It has a longer timeout setting and is reserved for utility network geoprocessing tasks.

  • The network topology must be enabled.

  • When working with an enterprise geodatabase, the input utility network must be a utility network service.

  • When working with an enterprise geodatabase, only a single session can execute the validate operation at a time in the default version.


arcpy.un.ValidateNetworkTopology(in_utility_network, {extent})
ParameterExplanationData Type

The utility network for which the network topology will be validated.

Utility Network; Utility Network Layer

The geographical area for which to validate the network topology. This parameter is similar to the extent geoprocessing environment.

  • MAXOF—The maximum extent of all inputs will be used.
  • MINOF—The minimum area common to all inputs will be used.
  • DISPLAY—The extent is equal to the visible display.
  • Layer name—The extent of the specified layer will be used.
  • Extent object—The extent of the specified object will be used.
  • Space delimited string of coordinates—The extent of the specified string will be used. Coordinates are expressed in the order of x-min, y-min, x-max, y-max.

Derived Output

NameExplanationData Type

The validated utility network.

Utility Network

Code sample

ValidateNetworkTopology example (Python window)

Validate a network topology for the entire extent of a utility network named GridNetwork.

import arcpy
arcpy.ValidateNetworkTopology_un('GridNetwork', 'Default')


This tool does not use any geoprocessing environments.

Licensing information

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

Related topics