laptop and a wrench

Bug

The List Layers tool produces inconsistent or empty lists.

Last Published: February 22, 2017 ArcGIS for Desktop
Bug ID Number BUG-000081615
SubmittedJanuary 28, 2015
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.2.2
Operating SystemWindows OS
Operating System Version7
StatusNon-Reproducible

Additional Information

cannot reproduce in 10.5.1

Workaround

Use the Topo to Raster tool and the Make Raster Layer tool to add a raster layer into the Table Of Contents. The list produced by the ListLayer function contains the raster created by the Make Raster Layer tool. The drawback to this method is that there are two rasters in the Table Of Contents after the code has finished executing.The List Raster function produces a list containing the raster created by the Topo to Raster tool without having to use the Make Raster Layer tool. The drawback to this method is that users are unable to select non-raster list features with this function alone.

Steps to Reproduce

Bug ID: BUG-000081615

Software:

  • ArcGIS for Desktop

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options