I would like to switch GP layer to draw on While I am in drawmode by choosing the layer in Dopesheet(gp). (The selected layer may be in a different GPObject so choosing from Drawmode right now does not work) (this feature has been requested a year ago in community… no success)
So maybe it can be done in python?
But in order to do that, the system would need to exit drawmode to object mode, select the correct GPobject with the intended layer, go back into Drawmode.
I would like to make a script to do this based on what is highlighted in Dopesheet(GP)
I need assistance on how to find the dopesheet info and what in the tree is selected via Python.
Any help is appreciated.