Skip to content

GH_ArchivedUndoAction

Public Class

Base class implementation for undo actions that require (de)serialization of data.

Inheritance Hierarchy

System.Object
Grasshopper.Kernel.Undo.GH_UndoAction
Grasshopper.Kernel.Undo.GH_ArchivedUndoAction
Grasshopper.Kernel.Undo.Actions.GH_AddStateAction
Grasshopper.Kernel.Undo.Actions.GH_GenericObjectAction
Grasshopper.Kernel.Undo.Actions.GH_RemoveObjectAction
Grasshopper.Kernel.Undo.Actions.GH_RemoveStateAction

Namespace: Grasshopper.Kernel.Undo

Assembly: Grasshopper (in Grasshopper.dll)

Syntax

public abstract class GH_ArchivedUndoAction : GH_UndoAction

The GH_ArchivedUndoAction type exposes the following members.

Constructors

Name

Description


Protected method

Initializes a new instance of the GH_ArchivedUndoAction class


Properties

Name

Description


Public Property

Override this property if you want the Rhino viewport display to refresh upon undo completion.

(Inherited from GH_UndoAction.)


Public Property

Override this property if you want the Grasshopper solution to refresh upon undo completion.

(Inherited from GH_UndoAction.)


Public Property

(Inherited from GH_UndoAction.)


Methods

Name

Description


Protected method

Deserializes the obj from the local archive.


Protected method

(Inherited from GH_UndoAction.)


Protected method

(Inherited from GH_UndoAction.)


Public Method

(Overrides

.)


Public Method

(Inherited from GH_UndoAction.)


Protected method

Serializes the obj into the local archive.


Protected method

Serializes the obj into the local archive.


Public Method

(Inherited from GH_UndoAction.)


Public Method

(Overrides

.)


Fields

Name

Description


Protected field

m_data

Internal data storage for serialized archives.