Hi,

Ok, I've finally figured it out.
Here it is for future reference, if anyone has this question again:

>>> renderer.setUsingSymbolLevels(True)
>>> symbols = renderer.symbols()
>>> symbols[0].symbolLayer(0).setRenderingPass(0)
>>> symbols[1].symbolLayer(0).setRenderingPass(1)
>>> symbols[2].symbolLayer(0).setRenderingPass(2)
...

Of course one should check how many layers each symbol has:
symbols[0].symbolLayerCount()

Cheers,
Jorge



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Setting-symbol-levels-tp5130331p5131885.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to