read out symbology/class breaks in .lyr file

Discussion created by jderekito on Dec 11, 2011
Latest reply on Jan 5, 2012 by jbarrette-esristaff
I have a .lyr file and would like loop through symbology/class breaks (?).  What I mean is the part that defince show this color from values x-y etc... so that I can read them out into a report or file.  I was able to do this in vba in 9.3 But, I am trying to do the same in version 10 with python and can't seem to figure it out as I am new to python and arcobjects.  If anyone has any words of advice on how to do this it would be greatly appreciated.  Here is what I have so far:

import arcpy
mxd = arcpy.mapping.MapDocument("C:\Data\PhD\Teaching\ArcGISProgrammingWithPython\jdm.mxd")
for lyr in arcpy.mapping.ListLayers(mxd):
    x = lyr.name