Summary
Verifies the network topology system tables and logs inconsistencies to an output log file.
The Verify Network Topology tool is used to check the consistency of a network topology and create an output log file containing the issues discovered. This tool can be used in conjunction with the Repair Network Topology tool.
Usage
The network topology must be enabled.
When working with an enterprise geodatabase, the database connection must be from a branch versioned workspace.
When working with an enterprise geodatabase, the Input Utility Network must be from a database connection established as the database utility network owner.
When working with an enterprise geodatabase, the connected ArcGIS Enterprise portal account must be the portal utility network owner.
Syntax
arcpy.un.VerifyNetworkTopology(in_utility_network, {out_log_file})
Parameter | Explanation | Data Type |
in_utility_network | The utility network that will be verified for consistency. | Utility Network; Utility Network Layer |
out_log_file (Optional) | The output log file containing the discovered issues. | File |
Code sample
The following Python window script demonstrates how to use the VerifyNetworkTopology function.
import arcpy
arcpy.VerifyNetworkTopology_un("C:\\MyProject\\sdeConn.sde\\progdb.user1.MyUtilityNetwork", "C:\\temp\\VerifyLog.log")
Environments
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes