I am using ArcMap 10.1 and I would like to remove all transparency from all the layers in the map at once.


Working off the answer given by Dan, this script will remove the transparency from all layers if you run it in the python window in arcmap.

mxd = arcpy.mapping.MapDocument ("CURRENT")
df = arcpy.mapping.ListDataFrames (mxd, "Layers") [0]
for lyr in arcpy.mapping.ListLayers (mxd,"", df):
    lyr.transparency = 0
del mxd

Loop through your layers and use arcpy.mapping.Layer arcpy.mapping and set the transparency property.

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.