Python Select a Layer with API?

I have been looking into the API and there is no actual way to select a layer right?

I see stuff like move, rename, parents and childs but not change the selection of the layer.

1 Like

Yes, there is no API method for setting selected nodes. There is bug / wishlist in tracker

https://bugs.kde.org/show_bug.cgi?id=412846

And little workaround using KisLayerBox docker.

/AkiR

2 Likes

Oh the bug tracker this is not good at all …

Still requesting info without making the actual request as always. Maybe a year to acknowledge the bug and maybe after who knows I never got that far.

But I guess I should drop this idea. It will be an incomplete plugin. it was being to easy to make. up until now after all. I will just carry on.

Thank you @AkiR