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.

Parameters

LabelExplanationData Type
Input Topology
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

Derived Output

LabelExplanationData Type
Updated Input Topology

The updated topology.

Topology Layer

arcpy.management.SetClusterTolerance(in_topology, cluster_tolerance)
NameExplanationData Type
in_topology
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

Derived Output

NameExplanationData Type
out_topology

The updated topology.

Topology Layer

Code sample

SetClusterTolerance example (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

# Import system modules
import arcpy

arcpy.SetClusterTolerance_management("D:/Calgary/Trans.mdb/Streets/Street_Topo", 0.00015)

Environments

This tool does not use any geoprocessing environments.

Related topics