<?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: Really basic question about Python window - layers not available in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/really-basic-question-about-python-window-layers/m-p/3216#M278</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Bumping this up as it's still an issue for me. Anyone else experience this, or find a solution?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rosie, I can reproduce this. A fix that works for me is to reload arcpy:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;gt;&amp;gt;&amp;gt; reload(arcpy)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Nov 2012 16:05:10 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2012-11-30T16:05:10Z</dc:date>
    <item>
      <title>Really basic question about Python window - layers not available</title>
      <link>https://community.esri.com/t5/python-questions/really-basic-question-about-python-window-layers/m-p/3212#M274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm sure this is ridiculously simple, but I can't get it to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the arcpy.Clip_management tool. When I type the following into the window:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;arcpy.Clip_management("&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A drop down box appears, showing all the raster layers that exist in my mxd. I can select one and then complete the rest of the script. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if I've started using the python window, then add another layer to my mxd, it doesn't appear in the down down box when I reach this point in the script. It's almost like it needs a refresh to appear. At the moment the only thing I've found to work is restarting ArcGIS. The attached image shows 3 rasters in the table of contents - bunbury, cli7, and perth - but only the original two come as options in the Python window.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TIA.[ATTACH=CONFIG]18634[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 02:16:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/really-basic-question-about-python-window-layers/m-p/3212#M274</guid>
      <dc:creator>RosieBell</dc:creator>
      <dc:date>2012-10-23T02:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Really basic question about Python window - layers not available</title>
      <link>https://community.esri.com/t5/python-questions/really-basic-question-about-python-window-layers/m-p/3213#M275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What version/SP of ArcGIS are you running? Do you start a new line in your python window after you've added the new raster?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 02:58:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/really-basic-question-about-python-window-layers/m-p/3213#M275</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2012-10-23T02:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Really basic question about Python window - layers not available</title>
      <link>https://community.esri.com/t5/python-questions/really-basic-question-about-python-window-layers/m-p/3214#M276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mathew,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running ArcGIS Desktop 10 SP3. I do start a new line after adding. I've also tried clearing all my python, closing and reopening the window - no luck though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 05:17:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/really-basic-question-about-python-window-layers/m-p/3214#M276</guid>
      <dc:creator>RosieBell</dc:creator>
      <dc:date>2012-10-23T05:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Really basic question about Python window - layers not available</title>
      <link>https://community.esri.com/t5/python-questions/really-basic-question-about-python-window-layers/m-p/3215#M277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bumping this up as it's still an issue for me. Anyone else experience this, or find a solution?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm sure this is ridiculously simple, but I can't get it to work.&lt;BR /&gt;&lt;BR /&gt;I'm using the arcpy.Clip_management tool. When I type the following into the window:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;arcpy.Clip_management("&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;A drop down box appears, showing all the raster layers that exist in my mxd. I can select one and then complete the rest of the script. &lt;BR /&gt;&lt;BR /&gt;However, if I've started using the python window, then add another layer to my mxd, it doesn't appear in the down down box when I reach this point in the script. It's almost like it needs a refresh to appear. At the moment the only thing I've found to work is restarting ArcGIS. The attached image shows 3 rasters in the table of contents - bunbury, cli7, and perth - but only the original two come as options in the Python window.&lt;BR /&gt;&lt;BR /&gt;TIA.[ATTACH=CONFIG]18634[/ATTACH]&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 00:55:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/really-basic-question-about-python-window-layers/m-p/3215#M277</guid>
      <dc:creator>RosieBell</dc:creator>
      <dc:date>2012-11-30T00:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Really basic question about Python window - layers not available</title>
      <link>https://community.esri.com/t5/python-questions/really-basic-question-about-python-window-layers/m-p/3216#M278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Bumping this up as it's still an issue for me. Anyone else experience this, or find a solution?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rosie, I can reproduce this. A fix that works for me is to reload arcpy:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;gt;&amp;gt;&amp;gt; reload(arcpy)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 16:05:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/really-basic-question-about-python-window-layers/m-p/3216#M278</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2012-11-30T16:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Really basic question about Python window - layers not available</title>
      <link>https://community.esri.com/t5/python-questions/really-basic-question-about-python-window-layers/m-p/3217#M279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Rosie, I can reproduce this. A fix that works for me is to reload arcpy:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&lt;STRONG&gt;&amp;gt;&amp;gt;&amp;gt; &lt;/STRONG&gt;reload(arcpy)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Curtis! I tried this, and it works perfectly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 23:25:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/really-basic-question-about-python-window-layers/m-p/3217#M279</guid>
      <dc:creator>RosieBell</dc:creator>
      <dc:date>2012-12-03T23:25:58Z</dc:date>
    </item>
  </channel>
</rss>

