Hello, I have a Rhino plug-in that closely cooperates with Grasshopper solver and I am trying to solve following issue.
First, I call RunAsCommand(doc, null, RhinoDoc.ActiveDoc, RunMode.Scripted);
that launches a couple of GH scripts - these consume data prepared by my Rhino plug-in, create some geometry and then pass it back to the plug-in.
Problem is, that when I change some object (causing rhino to recompute and pass back some geometry), this process is captured and saved. So when I hit ctrl+z, Rhino tells me its ‘Undoing Grasshopper Solution’ - but I would only want to undo the original change of geometry in Rhino scene and ignore what was done in grasshopper (which is visualy not even open). Is that possible?