I'm using ArcGIS Desktop 10.0.

I need to set my background rgb value of 255,255,255 to transparent. In the layer-Properties Windows > Symbology I can do it for one layer, but can I batch set this, or use arcpy? I have to do it for around 300 layers.


It seems that I can do it for an mxd document by going to :

Tools > ArcMAP-Options > Raster > RasterLayer > Background value

All Raster layers that are then subsequently added will receive the defined background color.

| improve this answer | |

I'm not aware of any way that you can do this for existing layers in batch or via ArcPy.

However, there is an ArcGIS Idea called ArcPy.Mapping - Support Layer Symbology Property Modifications that looks like it would meet your requirement so I recommend that you vote for that.

Develop arcpy.mapping to support layer symbology modifications.

Examples include:

1. Changing ... colour (rgb and cmyk input values), size, font properies of single symbol
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.