I’m use the core module to redraw the PS canvas when necessary in my plugin, but is there a way to do the inverse? To block the drawing of the document / canvas while performing an action?
My plugins selects channels and then layers on RGB channel and that change of selection redraws the canvas and I want to avoid that redrawing, is there a way to block the canvas drawing temporary?
You can try to put as many items into single batchPlay as possible in single execAsModal and hope for the best. But I think some actions are not well implemented and without redrawing canvas or updating menu items… it might not work correctly.
You could also try imaging API… it can do selections.