ReplayHistoryData Class

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
SystemObject
  Rhino.DocObjectsReplayHistoryData

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public class ReplayHistoryData : IDisposable
Public Class ReplayHistoryData
	Implements IDisposable

The ReplayHistoryData type exposes the following members.

Properties
  NameDescription
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.

Top
Methods
  NameDescription
Public methodDispose
Releases all resources used by the ReplayHistoryData
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (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 (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodTryGetBool
Public methodTryGetColor
Public methodTryGetDouble
Public methodTryGetGuid
Public methodTryGetInt
Public methodTryGetPoint3d
Public methodTryGetPoint3dOnObject
Public methodTryGetString
Public methodTryGetTransform
Public methodTryGetVector3d
Top
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also