Set Cluster Tolerance (Data Management)
Summary
Sets the cluster tolerance of a topology.
Usage
-
You cannot alter the cluster tolerance for a topology if the topology has been registered as versioned.
-
Changing the cluster tolerance will require the entire topology be validated.
-
For more information about cluster tolerance, see Topology_in_ArcGIS
Syntax
SetClusterTolerance_management (in_topology, cluster_tolerance)
Parameter | Explanation | Data Type |
in_topology |
The topology for which you want to change the cluster tolerance. This is the full path to the topology, note the topology's name or the topology layer's name when in ArcMap. | Topology Layer |
cluster_tolerance |
The value to be set as the cluster tolerance property of the selected topology. If you enter a value of zero, the default or minimum cluster tolerance will be applied to the topology. | Double |
Code Sample
SetClusterTolerance stand-alone script
The following stand-alone script demonstrates how to use the SetClusterTolerance function.
# Name: SetClusterTolerance_Example.py
# Description: Updates the cluster tolerance property on a topology
# Author: ESRI
# Import system modules
import arcpy
from arcpy import env
arcpy.SetClusterTolerance_management("D:\Calgary\Trans.mdb\Streets\Street_Topo", 0.00015)
Environments
This tool does not use any geoprocessing environments
Related Topics
Licensing Information
ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: Yes
ArcGIS for Desktop Advanced: Yes
11/18/2013