Found it: layer.rendererV2().classAttribute() Thanks Tom -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Reading-out-categorized-styles-tp5173357p5173358.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.