Get an object transformation


I would like to know what is the transformation of an object in Doc events. In other words, when we drag and drop an object, get this transform. Is it possible?



The C++ SDK has CRhinoOnTransformObject and CRhinoAfterTransformObject events that are not exposed to RhinoCommon. I’ll add these to the to-do list for a future Rhino service release.

If you attache user data to an object and the user data object overrides Rhino.DocObjects.Custom.UserData.OnTransform, then this overridden function be called, with the transform being applied, when an object is moved, for example.