I am using ArcMap 10.1 and I would like to remove all transparency from all the layers in the map at once.
Asked
Active
Viewed 607 times
2
2 Answers
3
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
arcpy.RefreshActiveView()
mxd.save
del mxd
Adam Thom
- 1,512
- 2
- 16
- 32
1
Loop through your layers and use arcpy.mapping.Layer arcpy.mapping and set the transparency property.
risail
- 1,318
- 8
- 24
-
See http://gis.stackexchange.com/questions/18814/how-to-change-symbology-of-multiple-layers-at-once-using-arcmap-arcpy for an application of this. – eseglem Dec 11 '15 at 19:31