Delete Trace Configuration (Trace Network)

Summary

Deletes one or more named trace configurations from a trace network.

Learn more about deleting a trace configuration

Usage

  • Using this tool, named trace configurations are permanently deleted from the trace network.

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

  • When working with an enterprise geodatabase, the connected portal account can only view and delete named trace configurations they create. The portal trace network owner can view and delete any named trace configuration in the trace network.

  • License:
    The active portal account must be assigned a license with the ArcGIS Advanced Editing user type extension to use this tool in an enterprise deployment.

Parameters

LabelExplanationData Type
Input Trace Network

The trace network containing the named trace configuration to be deleted.

Trace Network; Trace Network Layer
Trace Configuration

The named trace configurations to be deleted.

String

Derived Output

LabelExplanationData Type
Updated Trace Network

The updated trace network.

Trace Network

arcpy.tn.DeleteTraceConfiguration(in_trace_network, trace_config_name)
NameExplanationData Type
in_trace_network

The trace network containing the named trace configuration to be deleted.

Trace Network; Trace Network Layer
trace_config_name
[trace_config_name,...]

The named trace configurations to be deleted.

String

Derived Output

NameExplanationData Type
updated_trace_network

The updated trace network.

Trace Network

Code sample

DeleteTraceConfiguration example (Python window)

This sample Python script deletes a named trace configuration from a trace network named HydroNetwork, referenced by its Global ID.

import arcpy
arcpy.tn.DeleteTraceConfiguration(r"HydroNetwork", 
                                  "{82DBAC8-8D89-6R64-8FX0-98FA01511}")

Environments

This tool does not use any geoprocessing environments.

Licensing information

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

Related topics