Timeline for Find the Position of a Layer in the TOC PyQGIS3
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 4, 2020 at 20:41 | comment | added | Germán Carrillo | You're welcome. Yes, it's very close, although you do need the parent group (not only the root) to make it more generic, i.e., to make it work also inside subgroups. | |
Nov 4, 2020 at 19:05 | vote | accept | CNIDog | ||
Nov 4, 2020 at 19:04 | comment | added | CNIDog | Thanks German. I managed it in similar fashion, but I believe your way is cleaner than my solution. | |
Nov 4, 2020 at 18:49 | history | answered | Germán Carrillo | CC BY-SA 4.0 |