Solved! Go to Solution.
import arcpy mxd = arcpy.mapping.MapDocument(r"C:\backup\ValueField\ValueField.mxd") lyr = arcpy.mapping.ListLayers(mxd)[0] lyr.symbology.valueField = 'POP2000' arcpy.ApplySymbologyFromLayer_management(lyr, r"C:\backup\ValueField\ThickOutline.lyr") arcpy.mapping.ExportToPDF(mxd, 'foo.pdf') mxd.saveACopy(r"C:\backup\ValueField\foo.mxd") print 'done'
import arcpy mxd = arcpy.mapping.MapDocument(r"C:\backup\ValueField\ValueField.mxd") lyr = arcpy.mapping.ListLayers(mxd)[0] lyr.symbology.valueField = 'POP2000' arcpy.ApplySymbologyFromLayer_management(lyr, r"C:\backup\ValueField\ThickOutline.lyr") arcpy.mapping.ExportToPDF(mxd, 'foo.pdf') mxd.saveACopy(r"C:\backup\ValueField\foo.mxd") print 'done'
I am having the same issue. Were you able to get around this issue? Can you please post the code with the workaround. I am still having issues with the symbology outlines.
Thank you in advance!