Bumping this up as it's still an issue for me. Anyone else experience this, or find a solution?
>>> reload(arcpy)
Rosie, I can reproduce this. A fix that works for me is to reload arcpy:>>> reload(arcpy)
I'm sure this is ridiculously simple, but I can't get it to work.I'm using the arcpy.Clip_management tool. When I type the following into the window:arcpy.Clip_management("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. 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.TIA.[ATTACH=CONFIG]18634[/ATTACH]
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.