Tag Info

New answers tagged

1

Use the Make Raster Layer Tool rather than arcpy.mapping.Layer: Creates a raster layer from an input raster dataset or layer file. The layer that is created by the tool is temporary and will not persist after the session ends unless the layer is saved to disk or the map document is saved. This tool can be used to make a temporary layer, so you ...


2

Manually save a layer file of the raster in the r g b format. Then, use the same code as you did, but reference the saved .lyr file instead.



Top 50 recent answers are included