Click or drag to resize

ReplayHistoryData Class

Provides history information to commands that will repeat history construction. Generally, a developer using this class will not construct a new instance, but receive one.
Inheritance Hierarchy

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
public class ReplayHistoryData : IDisposable

The ReplayHistoryData type exposes the following members.

Public propertyDocument
The document this record belongs to
Public propertyHistoryVersion
ReplayHistory overrides check the version number to ensure the information saved in the history record is compatible with the current implementation of ReplayHistory
Public propertyRecordId
Each history record has a unique id that Rhino assigns when it adds the history record to the history record table
Public propertyResults
Provides access to BOTH inputs and outputs of the replay history operation.

Use this property to then call an appropriate UpdateToX() method and make your custom history support work.

Public methodDispose
Releases all resources used by the ReplayHistoryData
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRhinoObjRef
In ReplayHistory, use GetRhinoObjRef to convert the information in a history record into the ObjRef that has up to date RhinoObject pointers
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetBool
Public methodTryGetColor
Public methodTryGetDouble
Public methodTryGetDoubles
Public methodTryGetGuid
Public methodTryGetInt
Public methodTryGetPoint3d
Public methodTryGetPoint3dOnObject
Public methodTryGetString
Public methodTryGetTransform
Public methodTryGetVector3d
See Also