<?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 buggy Arcpy.Mapping behaviour (!?) in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/buggy-arcpy-mapping-behaviour/m-p/151104#M11683</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;I have an unanswered question about arpcy.mapping here: &lt;A _jive_internal="true" href="https://community.esri.com/message/395210?sr=search&amp;amp;searchId=217e8af9-1d87-4cde-a095-f520d1ef56cd&amp;amp;searchIndex=1#395210" title="https://community.esri.com/message/395210?sr=search&amp;amp;searchId=217e8af9-1d87-4cde-a095-f520d1ef56cd&amp;amp;searchIndex=1#395210"&gt;https://community.esri.com/message/395210?sr=search&amp;amp;searchId=217e8af9-1d87-4cde-a095-f520d1ef56cd&amp;amp;searchIndex=1#395210&lt;/A&gt; &lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;The format is getting really long and messy and it hasn't been answered yet. For the history please read thru it. But I think the problem seems to be a bug with the way arcpy.mapping.listLayers works or doesn't work.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;in the interactive python window using my mxd I can list layers and see my layer of interest: "Dimensions". If I perform the same command in my script, the "Dimensions" layer does not appear. yet I'm using the same commands on the same mxd.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;i've used "CURRENT" and the pathname to the mxd.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;please see the attached to see what I'm talking about plus the previous forum post above. Help is desperately required and much appreciated!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Aug 2014 15:54:14 GMT</pubDate>
    <dc:creator>JoshuaChan</dc:creator>
    <dc:date>2014-08-26T15:54:14Z</dc:date>
    <item>
      <title>buggy Arcpy.Mapping behaviour (!?)</title>
      <link>https://community.esri.com/t5/python-questions/buggy-arcpy-mapping-behaviour/m-p/151104#M11683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;I have an unanswered question about arpcy.mapping here: &lt;A _jive_internal="true" href="https://community.esri.com/message/395210?sr=search&amp;amp;searchId=217e8af9-1d87-4cde-a095-f520d1ef56cd&amp;amp;searchIndex=1#395210" title="https://community.esri.com/message/395210?sr=search&amp;amp;searchId=217e8af9-1d87-4cde-a095-f520d1ef56cd&amp;amp;searchIndex=1#395210"&gt;https://community.esri.com/message/395210?sr=search&amp;amp;searchId=217e8af9-1d87-4cde-a095-f520d1ef56cd&amp;amp;searchIndex=1#395210&lt;/A&gt; &lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;The format is getting really long and messy and it hasn't been answered yet. For the history please read thru it. But I think the problem seems to be a bug with the way arcpy.mapping.listLayers works or doesn't work.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;in the interactive python window using my mxd I can list layers and see my layer of interest: "Dimensions". If I perform the same command in my script, the "Dimensions" layer does not appear. yet I'm using the same commands on the same mxd.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;i've used "CURRENT" and the pathname to the mxd.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;please see the attached to see what I'm talking about plus the previous forum post above. Help is desperately required and much appreciated!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 15:54:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buggy-arcpy-mapping-behaviour/m-p/151104#M11683</guid>
      <dc:creator>JoshuaChan</dc:creator>
      <dc:date>2014-08-26T15:54:14Z</dc:date>
    </item>
  </channel>
</rss>

