# ReplayHistoryData class

Namespace: [Rhino.DocObjects](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.docobjects.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class ReplayHistoryData : IDisposable
```

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.

## Properties

- [Document](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.replayhistorydata/document.md): The document this record belongs to
- [HistoryVersion](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.replayhistorydata/historyversion.md): ReplayHistory overrides check the version number to ensure the information saved in the history record is compatible with the current implementation of ReplayHistory
- [RecordId](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.replayhistorydata/recordid.md): Each history record has a unique id that Rhino assigns when it adds the history record to the history record table
- [Results](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.replayhistorydata/results.md): 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.

## Methods

- [AppendHistoryResult](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.replayhistorydata/appendhistoryresult.md): Create an empty history result and add it to the end of the Results array. Note that you should call Results again if you need them as the old Results array will be out of sync with this class.
- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.replayhistorydata/dispose.md)
- [GetRhinoObjRef](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.replayhistorydata/getrhinoobjref.md): In ReplayHistory, use GetRhinoObjRef to convert the information in a history record into the ObjRef that has up to date RhinoObject pointers
- [TryGetBool](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.replayhistorydata/trygetbool.md)
- [TryGetColor](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.replayhistorydata/trygetcolor.md)
- [TryGetDouble](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.replayhistorydata/trygetdouble.md)
- [TryGetDoubles](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.replayhistorydata/trygetdoubles.md)
- [TryGetGuid](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.replayhistorydata/trygetguid.md)
- [TryGetGuids](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.replayhistorydata/trygetguids.md)
- [TryGetInt](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.replayhistorydata/trygetint.md)
- [TryGetInts](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.replayhistorydata/trygetints.md)
- [TryGetPoint3d](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.replayhistorydata/trygetpoint3d.md)
- [TryGetPoint3dOnObject](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.replayhistorydata/trygetpoint3donobject.md)
- [TryGetString](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.replayhistorydata/trygetstring.md)
- [TryGetTransform](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.replayhistorydata/trygettransform.md)
- [TryGetVector3d](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.replayhistorydata/trygetvector3d.md)
- [UpdateResultArray](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.replayhistorydata/updateresultarray.md): Update the Results array with a different set of values. Null entries in the newResults will result in empty ReplayHistoryResult elements
