Click or drag to resize
RhinoDocReplaceRhinoObject Event
Called if an object is about to be replaced. If either RhinoDoc::UndoActive() or RhinoDoc::RedoActive() is true, then immediatedly after ReplaceObject is called there will be a call to DeleteObject and then a call to AddObject. If both RhinoDoc::UndoActive() and RhinoDoc::RedoActive() are false, then immediatedly after ReplaceObject is called there will be a call to DeleteObject and then a call to UndeleteObject.

Namespace: Rhino
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public static event EventHandler<RhinoReplaceObjectEventArgs> ReplaceRhinoObject

Value

Type: SystemEventHandlerRhinoReplaceObjectEventArgs
See Also