Tools that honor the M Tolerance environment will override the default m-tolerance on geodatasets created in a geodatabase.
For a description of the default m-tolerance, see the following topic: Spatial reference and geoprocessing.
- For tools such as 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 geodatabase versions earlier 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.
# Set the MTolerance to 0.02
arcpy.env.MTolerance = 0.02