Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

disable m and z values

$
0
0
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.

Viewing all articles
Browse latest Browse all 2485

Trending Articles