Tools that honor this environment will override the default M tolerance on geodatasets created inside a geodatabase.
For a description of the default M tolerance, see the following topic: Spatial reference and geoprocessing.
- For tools like Create Feature Class, Create Feature Dataset, and Create Raster Catalog, the default M tolerance for the output geodataset is 0.001 meters (1 millimeter) or its equivalent in the vertical coordinate units.
- If the M tolerance is less than twice the output geodataset's M resolution value, an M tolerance of two times the M resolution will be used.
- M tolerances do not persist in geodatabases of versions older than 9.2.
M Tolerance—The M tolerance to be set on the geodatasets created by geoprocessing tools. If the default M tolerance is inadequate, set this environment.
arcpy.env.MTolerance = double
The M tolerance to be set on the geodatasets created by geoprocessing tools. If the default M tolerance is inadequate, set this environment.
import arcpy # Set the MTolerance to 0.02 arcpy.env.MTolerance = 0.02