# HistoryRecord 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 HistoryRecord : IDisposable
```

Provides a single bundling of information to be passed to Rhino when setting up history for an object.

**Remarks:** To use this object, just pass it to a RhinoDoc.Add() method along with the needed geometry. Do not reuse this class for more than one history addition.

## Constructors

- [HistoryRecord](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/ctor.md)

## Finalizer

- [~HistoryRecord](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/finalize.md): Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().

## Properties

- [CopyOnReplaceObject](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/copyonreplaceobject.md): When an object is replaced and the old object has a history record with this field set, the history record is copied and attached to the new object. That allows a descendant object to continue the history linkage after it is edited.
- [Handle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/handle.md): Wrapped native C++ pointer to CRhinoHistory instance

## Methods

- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/dispose.md): (2 overloads) Actively reclaims unmanaged resources that this instance uses.
- [SetBool](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setbool.md)
- [SetBools](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setbools.md)
- [SetBrep](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setbrep.md)
- [SetColor](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setcolor.md)
- [SetColors](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setcolors.md)
- [SetCurve](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setcurve.md)
- [SetDouble](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setdouble.md)
- [SetDoubles](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setdoubles.md)
- [SetGuid](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setguid.md)
- [SetGuids](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setguids.md)
- [SetHistoryVersion](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/sethistoryversion.md): Specifies a non-zero integer that identifies the version of this history record. The virtual ReplayHistory() functions can check this version to avoid replaying history using information created by earlier versions of the command.
- [SetInt](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setint.md)
- [SetInts](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setints.md)
- [SetMesh](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setmesh.md)
- [SetObjRef](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setobjref.md)
- [SetPoint3d](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setpoint3d.md)
- [SetPoint3dOnObject](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setpoint3donobject.md)
- [SetPoint3ds](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setpoint3ds.md)
- [SetString](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setstring.md)
- [SetStrings](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setstrings.md)
- [SetSurface](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setsurface.md)
- [SetTransorm](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/settransorm.md)
- [SetVector3d](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setvector3d.md)
- [SetVector3ds](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.historyrecord/setvector3ds.md)
