Tools that honor the M Resolution environment will apply the m-resolution to output geodatasets. The m-resolution, expressed as a very small distance, refers to the number of significant digits used to store m-values.
For a description of the default m-resolution, see the following topic: Spatial reference and geoprocessing.
- The m-resolution (unlike XY Resolution and Z Resolution environments) of geodatasets created inside a feature dataset is not constrained to match the feature dataset's m-resolution.
- If the M Resolution environment is not set, tools such as Create Feature Class, Create Feature Dataset, and Create Raster Catalog will set the default M resolution at 0.0001.
M Resolution—The m-resolution to be set on the output geodatasets. Set this environment if the default m-resolution is inadequate.
arcpy.env.MResolution = double
Sets the m-resolution to be used on output geodatasets. The m-resolution, expressed as a very small distance, refers to the number of significant digits used to store m-values.
import arcpy # Set the MResolution environment to a double arcpy.env.MResolution = 0.002