Timeline for Accessing checked layers in PyQGIS?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 11, 2015 at 20:29 | comment | added | swooders | Sorry I actually meant the layers that were checked (not selected). I apologize for being unclear in the question - is there a method that gets the layers with checked boxes? | |
Mar 10, 2015 at 21:58 | comment | added | Luigi Pirelli | sorry I erroneously wrote the wrong method... it is layerTreeView that can be simply read from QgisInterface documentation. | |
Mar 10, 2015 at 21:57 | history | edited | Luigi Pirelli | CC BY-SA 3.0 |
edited body
|
Mar 10, 2015 at 17:23 | comment | added | swooders |
I tried layers = qgis.utils.iface.layerTreeRoot().selectedLayers() but I get en error "QgisInterface object has no attribute layerTreeRoot"
|
|
Mar 10, 2015 at 17:00 | vote | accept | swooders | ||
Mar 10, 2015 at 17:21 | |||||
Mar 5, 2015 at 22:23 | history | answered | Luigi Pirelli | CC BY-SA 3.0 |