Output has M Values (Environment setting)

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

Usage notes

Dialog syntax

Scripting syntax

arcpy.env.outputMFlag = output_m_flag

output_m_flag

Explanation

Same As Input

If the input has M values, then the output will also have M values. If the input does not have M values, then the output will not have M values. This is the default value.

Enabled

The output will have M values.

Disabled

The output will not have M values.

outputMFlag syntax

Script example

import arcpy

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

Related Topics

3/3/2014