RhinoReplaceObjectEventArgs

EventArgsReferencesSince v5.0

Properties

Document

#Since v5.0
The document where the event occurred.
public RhinoDoc Document { get; }

DocumentSerialNumber

#Since v9.0
The document runtime serial number.
[CLSCompliant(false)] public uint DocumentSerialNumber { get; }

NewRhinoObject

#Since v5.0
The new replacement object, or the object about to be added. At the time RhinoDoc.ReplaceRhinoObject is called, this object has not been added to the document. Thus, this object's id will be Guid.Empty.
public RhinoObject NewRhinoObject { get; }

ObjectId

#Since v5.0
The id of the existing object, or the object about to be deleted. At the time RhinoDoc.ReplaceRhinoObject is called, this object has not been deleted.
public Guid ObjectId { get; }

OldRhinoObject

#Since v5.0
The existing object, or the object about to be deleted. At the time RhinoDoc.ReplaceRhinoObject is called, this object has not been deleted.
public RhinoObject OldRhinoObject { get; }