Summary
Disables the network topology for an existing trace network.
Usage
The topology must be disabled when adding or assigning network attributes.
For enhanced performance, it is recommended that you disable the topology before loading data.
When working with an enterprise geodatabase, the requirements are as follows:
The input trace network must be from a database connection established as the database trace network owner.
Syntax
arcpy.tn.DisableNetworkTopology(in_trace_network)
Parameter | Explanation | Data Type |
in_trace_network | The trace network where the network topology will be disabled. | Trace Network; Trace Network Layer |
Derived Output
Name | Explanation | Data Type |
out_trace_network | The updated trace network. | Trace Network |
Code sample
Disable the network topology for a trace network called GridNetwork.
import arcpy
arcpy.DisableNetworkTopology_tn('GridNetwork')
Environments
This tool does not use any geoprocessing environments.
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes