E_Rhino_RhinoDoc_ReplaceRhinoObject - mcneel/rhinocommon-api-docs GitHub Wiki

RhinoDoc.ReplaceRhinoObject Event

Called if an object is about to be replaced. If both RhinoDoc.UndoActive() and RhinoDoc.RedoActive() return false, then immediately after the ReplaceObject event, there will be a DeleteObject event followed by an AddObject event. If either RhinoDoc.UndoActive() or RhinoDoc::RedoActive() return true, then immediately after the ReplaceObject event, there will be a DeleteObject event followed by an UndeleteObject event.

Namespace: Rhino
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public static event EventHandler<RhinoReplaceObjectEventArgs> ReplaceRhinoObject

VB

Public Shared Event ReplaceRhinoObject As EventHandler(Of RhinoReplaceObjectEventArgs)

Value

Type: System.EventHandler(RhinoReplaceObjectEventArgs)

Version Information

Supported in: 5D58w

See Also

Reference

RhinoDoc Class
Rhino Namespace

⚠️ **GitHub.com Fallback** ⚠️