Summary
Converts a geometric network to a trace network.
Usage
-
This tool is only supported with file geodatabases.
The input geodatabase workspace must be an ArcGIS 10.0 or later release to support this functionality
Syntax
ConvertGeometricNetworkToTraceNetwork(in_geometric_network, out_trace_network_name)
Parameter | Explanation | Data Type |
in_geometric_network | The geometric network that will be converted to a trace network. Caution:Converting a geometric network to a trace network will drop the geometric network and create a trace network in its place. This change cannot be undone. Make a backup of your data before proceeding. | Geometric Network |
out_trace_network_name | The name of the output trace network. | String |
Derived Output
Name | Explanation | Data Type |
out_trace_network | The output trace network. | Trace Network |
Code sample
Convert a geometric network named HydroGN to a trace network named HydroTN.
import arcpy
arcpy.ConvertGeometricNetworkToTraceNetwork_tn("C:\\MyTNProject\\NHD.gdb\Hydro\HydroGN",
"HydroTN")
Environments
This tool does not use any geoprocessing environments.
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes