RhinoReplaceObjectEventArgs

EventArgsReferencesSince v5.0

Properties

Document

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

DocumentSerialNumber

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

NewRhinoObject

#Since v5.0
public RhinoObject NewRhinoObject { get; }
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.

ObjectId

#Since v5.0
public Guid ObjectId { get; }
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.

OldRhinoObject

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