AnsweredAssumed Answered

how to keep symbology outlines the same when I change the value field

Question asked by tsmcneel on Dec 3, 2012
Latest reply on Aug 6, 2014 by sarmour
I'm using graduated colors symbology with quantiles, and I have different fill colors and outline colors for the different quantile categories.  My python script loops through several fields, and for each field it sets the layer's symbology.valueField to the new field and creates a JPEG using arcpy.mapping.ExportToJPEG.  The quantiles recalculate correctly based on the new field, and the fill colors for each quantile group remain correct, but the outlines all change to gray.  How can I keep outlines the same (or reset them after they change) when I change the value field?

I don't see any way to to set the outline colors directly using Python.  I tried setting up a layer with the correct symbology and applying that (using arcpy.mapping.UpdateLayer and, in a separate attempt, arcpy.ApplySymbologyFromLayer_management) to my main layer after switching the value field.  But it appears that these functions set the symbology value field in addition to the fill colors and outlines.

I'm using ArcGIS 10.1.