tools that require layers as input

Discussion created by katsuda on Nov 9, 2012
Latest reply on Nov 16, 2012 by katsuda
I'm working with rasters in ArcGIS 10.0 and trying to automate several processes over hundreds of files.  Two of the geoprocessing tasks that I want to do are "slice" and "apply symbology".  I am slicing one-band rasters to two classes using natural breaks and hope to get NoData and a value. I have created layer files to apply different colors to the different values.

Since I have written the code to convert the rasters to raster layers for the "slice" operation, it seems clumsy to repeat that conversion on the output of "slice" in order to then use the "apply symbology" process.  Is it possible in coding "slice" to create a layer as the output right away?  Or is there a better way?