I am trying to do something similar and have followed the link posted above.I am getting an error: Runtime error <type 'exceptions.IndexError'>: list index out of rangeThe code I am working on is trying to change the symbology of one file, I actually need it to work on many files. Can someone help me with the code below to make this happen! Thanks
import arcpy
mxd = arcpy.mapping.MapDocument(r"D:\updatelayer\mxd1.mxd")
df = arcpy.mapping.ListDataFrames(mxd, "Layers")[0]
updateLayer = arcpy.mapping.ListLayers(mxd, "FFDI_19900102", df)[0]
sourceLayer = arcpy.mapping.Layer(r"C:\Project\Data\FFDI_19900101.img.lyr")
arcpy.mapping.UpdateLayer(df, updateLayer, sourceLayer, True)
mxd.saveACopy(r"D:\updatelayer\test.mxd")