Output has Z Values (Environment setting)

Tools that honor the Output has Z Values environment will control whether the output geodataset will store z-values.

Usage notes

Dialog syntax

Scripting syntax

arcpy.env.outputZFlag = output_z_flag

output_z_flag

Explanation

Same As Input

Same as the input: if input has z-values, then the output will have z-values. If does not have z-values, then the output will not have z-values.

Enabled

Output features will have z-values.

Disabled

Output features will not have z-values.

outputZFlag syntax

Script example

import arcpy

# Set the outputZFlag environment to Enabled
arcpy.env.outputZFlag = "Enabled"

Related Topics

3/3/2014