Export Topology Errors (Data Management)

License Level:BasicStandardAdvanced

Summary

Exports the errors from a geodatabase topology to the target geodatabase. All information associated with the errors and exceptions, such as the features referenced by the error or exception, are exported. Once they are exported, the feature classes can be accessed using any license level of ArcGIS. The feature classes can be used with the Select by Location dialog box or the Select Layer By Location tool and can be shared with other users who do not have access to the topology itself.

Usage

Syntax

ExportTopologyErrors_management (in_topology, out_path, out_basename)
ParameterExplanationData Type
in_topology

The topology from which the errors will be exported.

Topology Layer
out_path

The output workspace to which the feature classes will be created. The default is the workspace where the topology is located.

Feature Dataset; Workspace
out_basename

Name to prepend to each output feature class. This allows you to specify unique output names when running multiple exports to the same workspace. The default is the topology name.

String

Code Sample

ExportTopologyErrors example (stand-alone script)

The following stand-alone script demonstrates how to use the ExportTopologyErrors function.

# Set the necessary product code
import arceditor

# Import arcpy module
import arcpy

# Local variables:
co_topo_FD_Topology = "C:\\Testing\\topology.mdb\\my_topo_FD\\my_topo_FD_Topology"

# Process: Export Topology Errors
arcpy.ExportTopologyErrors_management(co_topo_FD_Topology, "C:\\Testing\\topology.mdb\\my_topo_FD", "my_topo_FD_Topology")

Environments

This tool does not use any geoprocessing environments

Licensing Information

ArcGIS for Desktop Basic: Yes
ArcGIS for Desktop Standard: Yes
ArcGIS for Desktop Advanced: Yes
5/7/2015