Convert Geometric Network To Trace Network (Trace Network)

This ArcGIS 2.6 documentation has been archived and is no longer updated. Content and links may be outdated. See the latest documentation.

Summary

Converts a geometric network to a trace network.

Usage

Syntax

ConvertGeometricNetworkToTraceNetwork(in_geometric_network, out_trace_network_name)
ParameterExplanationData 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

NameExplanationData Type
out_trace_network

The output trace network.

Trace Network

Code sample

ConvertGeometricNetworkToTraceNetwork example (Python window)

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

Related topics