In a script, the rasters = arcpy.ListRasters() returns nothing for a Raster Catalog held in a File GDB? The workspace references to the Raster Catalog itself and I would expect to list the rasters in that Raster Catalog... But the list is empty!
rasters = arcpy.ListRasters("*", "All") arcpy.AddMessage("Rasters: " + str(rasters)) i = 0 for raster in rasters: i = i + 1 arcpy.AddMessage("Count Rasters: " + str(i) + "\n")
Count Rasters: 0
Is there anything wrong I am doing?