disable m and z values

Discussion created by jontuscanes on Aug 29, 2013
Latest reply on Sep 5, 2013 by stacyrendall
I am working in on a geoprocessing python script (10.0).  My issues is the following error:

ExecuteError: ERROR 999999: Error executing function.
Invalid Topology [M coord limit exceeded.]

I am aware on how to disable m and z values in ArcGIS GUI, in the 'Environment Settings'.  However, I can't figure out how to do this in a python script.  I tried this and it did not work:

arcpy.env.outputZFlag = "Disabled"
arcpy.env.outputMFlag = "Disabled"

I am also aware that converting the FC to a shapefile will strip any m and z values....but I would like to continue my work inside a FGDB.  Hopefully I am missing something obvious.