I’m looking to intercept commands with all their arguments. So far I managed to intercept command names/ids with Rhino.Commands.Command.BeginCommand and EndCommand with the RhinoCommon .NET SDK, but I have not found any way to intercept the arguments they took. Is there any way to do this?
While I’m currently using RhinoCommon for .NET targeting Rhino 7, I’m willing to switch to C++ or Rhino 8/WIP if that’s what it takes to achieve this.
It’s a hobby project, so I’m not sure it would carry much weight. The point is having a parametric modelling language with 2-way interaction with regular Rhino workflows. One of the building blocks is a journal of all (or, more likely, a reasonable subset) of editing operations performed in a document, that would be used to sketch scripts. On the other end I would also need to be able to perform equivalent operations from scratch. I assumed the later is going to be much better supported, since it’s a more common use case.
Exposing this in our SDK is a rather large project. We will probably need to eventually do this as it is needed for some other features we would like to add to Rhino at some point in the future, but I don’t think we’ll be able to get to this soon.