Thanks a lot, Nathan!
I have read the documentation and I have studied some sample code.
It looks like the events that could be catched are:
RhinoDoc.ModifyObjectAttributes
RhinoDoc.BeforeTransformObjects
Command.BeginCommand
Command.EndCommand
But it looks like they don’t expose all the information needed.
For instance, if I execute the “Offset” command, it seems that, in the “EndCommand” event, no information about the offset amount is passed… Am I missing something?
Actually, with the BeforeTransformObjects you get the transform with which the object(s) are going to be transformed.
Is that enough information for you? I don’t think you need the AfterTransformObjects, as it won’t give you any useful information other than the transform event ID.
I’m not sure: i tried it and it is easy to understand, if you are editing the complete object.
I think is less intuitive when you’re editing points of a curve: in the RhinoTransformObjectsEventArgs object you don’t have any reference to the edited object or (better) to the edited point(s).
In general, it is not possible to know all the details of “how” an object has been modified. But you can be notified when something happens to an object by handling these events: