Hi, is it possible to know the destination point position of an object in the BeforeTransformObject Event ?, i need to avoid the object transform depending of destination position.
hello, you used c++, c#, python ?
Sorry, c#
in C # I don’t know how to know the target position.
but after the transformation is done, the ReplaceRhinoObject event exposes an OldRhinoObject field
https://developer.rhino3d.com/api/RhinoCommon/html/T_Rhino_DocObjects_RhinoReplaceObjectEventArgs.htm
if the position does not meet a condition, I guess you can delete the new object and restore the previous one
-jmv
Thanks…!