Dynamically apply symbology to layer

Discussion created by kalongi on Jun 6, 2011
Latest reply on Jul 14, 2011 by kalongi
I have a script that updates the source of a layer with a feature set that is passed in as a parameter. I want to define the symbology for the layer using graduated colors. I don't see a way to do this programmatically in the script, as it doesn't appear that arcpy provides a means to update layer symbology programmatically, and using UpdateLayer doesn't get me what I need, because I'd have to define the class breaks based on an existing dataset, but I need the class breaks to be adjusted according to the updated source data for the layer . Does anyone know of any creative way to make this happen?