Tools that honor this environment will apply the z-resolution to output geodatasets.
For a description of the default z-resolution, see the following topic: Spatial reference and geoprocessing.
- This environment setting will be ignored if the output is within a geodatabase feature dataset.
- If the Z Resolution environment is not set, tools such as Create Feature Class, Create Feature Dataset, and Create Raster Catalog will set the default z-resolution at 0.0001 units.
Z Resolution—The z-resolution to be set on the output geodatasets. Set this environment if the default z-resolution is inadequate.
arcpy.env.ZResolution = linear_unit
Sets the z-resolution to be used on output geodatasets. The z-resolution, expressed as a very small distance, refers to the number of significant digits used to store z-coordinate values.
import arcpy # Set the ZResolution environment to a linear unit arcpy.env.ZResolution = "0.002 Meters"