Validate Topology (Data Management)

License Level:BasicStandardAdvanced

Summary

Validates a geodatabase topology.

Validate Topology performs the following operations:

Usage

Syntax

ValidateTopology_management (in_topology, {visible_extent})
ParameterExplanationData Type
in_topology

The geodatabase topology to be validated.

Topology Layer
visible_extent
(Optional)

In ArcMap, determines whether to use the current visible extent of the map or the full extent of the topology. If run in ArcCatalog or in a Python script, the entire extent of the topology will be validated regardless of this parameter setting.

  • FULL_EXTENTThe entire extent of the topology will be validated. This is the default.
  • VISIBLE_EXTENTOnly the current visible extent will be validated.
Boolean

Code Sample

ValidateTopology example stand-alone script

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

# Name: ValidateTopology_Example.py
# Description: Validates a topology

import arcpy
from arcpy import env

arcpy.ValidateTopology_management("D:\Calgary\Trans.mdb\Streets\Street_Topo")

Environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: Yes
ArcGIS for Desktop Advanced: Yes
11/18/2013