<?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 arcpy.polyline enabling Z and M in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-polyline-enabling-z-and-m/m-p/113237#M3868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Folks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Quick question, what is the proper format to enable Z and M values when using the arcpy.polyline command?&amp;nbsp; The help menu says the default is 'False', which implies that the enabling value is "True", but it does not seem to work (I also have the arcpy.env settings Z and M enabled). I have also tried "hasZ" and "hasM" as well as "Enabled."&amp;nbsp; Nothing seems to work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;polyline = arcpy.Polyline(array, projection, "True", "True")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would appreciate any feedback.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Erich&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Nov 2010 04:34:32 GMT</pubDate>
    <dc:creator>erichfisher</dc:creator>
    <dc:date>2010-11-07T04:34:32Z</dc:date>
    <item>
      <title>arcpy.polyline enabling Z and M</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-polyline-enabling-z-and-m/m-p/113237#M3868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Folks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Quick question, what is the proper format to enable Z and M values when using the arcpy.polyline command?&amp;nbsp; The help menu says the default is 'False', which implies that the enabling value is "True", but it does not seem to work (I also have the arcpy.env settings Z and M enabled). I have also tried "hasZ" and "hasM" as well as "Enabled."&amp;nbsp; Nothing seems to work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;polyline = arcpy.Polyline(array, projection, "True", "True")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would appreciate any feedback.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Erich&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Nov 2010 04:34:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-polyline-enabling-z-and-m/m-p/113237#M3868</guid>
      <dc:creator>erichfisher</dc:creator>
      <dc:date>2010-11-07T04:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.polyline enabling Z and M</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-polyline-enabling-z-and-m/m-p/113238#M3869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Erich;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;have you tried "ENABLED"?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Nov 2010 12:20:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-polyline-enabling-z-and-m/m-p/113238#M3869</guid>
      <dc:creator>JeffLee</dc:creator>
      <dc:date>2010-11-07T12:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.polyline enabling Z and M</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-polyline-enabling-z-and-m/m-p/113239#M3870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I have tried case-sensitive versions of True/False, Enabled/Disabled, and hasZ.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The arcpy environment settings enable all output to be Z-aware, but no matter what I've tried I cannot enable the polyline Z. I think it is because arcpy.polyline is not properly set to Z-aware that my Z values in my array are not being written into the final polyline shapefile.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only workaround I found was to re-write my program using an insert cursor rather than using the polyline command and copy features.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Nov 2010 02:40:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-polyline-enabling-z-and-m/m-p/113239#M3870</guid>
      <dc:creator>erichfisher</dc:creator>
      <dc:date>2010-11-08T02:40:56Z</dc:date>
    </item>
  </channel>
</rss>

