AddRhinoObject Event is called even when an existing object is moved

event_handling

(Darryl Menezes) #1

Hi,
I am trying to monitor when a new object is added to a Rhino document using RhinoDoc.AddRhinoObject Event (as it is explained in the documentation that this event will be called if a new object is added to the document). But what happens is, this event is also called when an existing object is moved in the document. Is there any way to detect when only a NEW object is added to the document? Thanks.


(Nathan 'jesterKing' Letwory) #2

That happens because moving an object (editing an object) equals a delete and add.

Refer to DeleteRhinoObject Event for multiple objects?


(Darryl Menezes) #3

Thanks