<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: disable m and z values in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/disable-m-and-z-values/m-p/564074#M44129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Setting the value works for me. You could try printing the values before and after your assignment to confirm this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;arcpy.AddMessage(Z: ' + arcpy.env.outputZFlag)
arcpy.env.outputZFlag = "Disabled"
arcpy.AddMessage(Z: ' + arcpy.env.outputZFlag)

arcpy.AddMessage('M: ' + arcpy.env.outputMFlag)
arcpy.env.outputMFlag = "Disabled"
arcpy.AddMessage('M: ' + arcpy.env.outputMFlag)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It may be that the variable is being set, but some tool later on is not honoring the setting.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 00:18:34 GMT</pubDate>
    <dc:creator>StacyRendall1</dc:creator>
    <dc:date>2021-12-12T00:18:34Z</dc:date>
    <item>
      <title>disable m and z values</title>
      <link>https://community.esri.com/t5/python-questions/disable-m-and-z-values/m-p/564073#M44128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am working in on a geoprocessing python script (10.0).&amp;nbsp; My issues is the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ExecuteError: ERROR 999999: Error executing function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invalid Topology [M coord limit exceeded.]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am aware on how to disable m and z values in ArcGIS GUI, in the 'Environment Settings'.&amp;nbsp; However, I can't figure out how to do this in a python script.&amp;nbsp; I tried this and it did not work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.env.outputZFlag = "Disabled"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.env.outputMFlag = "Disabled"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&amp;nbsp; Hopefully I am missing something obvious.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 13:49:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/disable-m-and-z-values/m-p/564073#M44128</guid>
      <dc:creator>jonathantuscanes</dc:creator>
      <dc:date>2013-08-29T13:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: disable m and z values</title>
      <link>https://community.esri.com/t5/python-questions/disable-m-and-z-values/m-p/564074#M44129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Setting the value works for me. You could try printing the values before and after your assignment to confirm this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;arcpy.AddMessage(Z: ' + arcpy.env.outputZFlag)
arcpy.env.outputZFlag = "Disabled"
arcpy.AddMessage(Z: ' + arcpy.env.outputZFlag)

arcpy.AddMessage('M: ' + arcpy.env.outputMFlag)
arcpy.env.outputMFlag = "Disabled"
arcpy.AddMessage('M: ' + arcpy.env.outputMFlag)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It may be that the variable is being set, but some tool later on is not honoring the setting.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:18:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/disable-m-and-z-values/m-p/564074#M44129</guid>
      <dc:creator>StacyRendall1</dc:creator>
      <dc:date>2021-12-12T00:18:34Z</dc:date>
    </item>
  </channel>
</rss>

