I am trying to add new layers into a specific group which I can get to work if I know the index, but how can I get Python to find the index of a group so it can load the new layer into the group wherever it is in the TOC?
qgis.utils.iface.legendInterface().moveLayer( layer, index )
No comments:
Post a Comment