Minimising Grasshopper Solutions in Rhino in order to undo rhino geometry

Hello,

I’m experiencing an issue while running a Grasshopper script in Rhino. Whenever I modify any geometry in Rhino while Grasshopper is running, I’m unable to undo those changes normally. Instead, I have to scroll through all the Grasshopper solution steps in the undo history to find my actual Rhino edits.

Is there a way to prevent Rhino from recording every Grasshopper solution in the undo stack? Ideally, I’d like the undo history to only track manual changes I make in Rhino, not every update triggered by Grasshopper.

Thanks in advance for any help!