Skip to content

GH_AddStateAction

Public Class

Record the addition of a single solution state to a document.

Inheritance Hierarchy

System.Object
Grasshopper.Kernel.Undo.GH_UndoAction
Grasshopper.Kernel.Undo.GH_ArchivedUndoAction
Grasshopper.Kernel.Undo.Actions.GH_AddStateAction

Namespace: Grasshopper.Kernel.Undo.Actions

Assembly: Grasshopper (in Grasshopper.dll)

Syntax

public class GH_AddStateAction : GH_ArchivedUndoAction

The GH_AddStateAction type exposes the following members.

Constructors

Name

Description


Public Method

Initializes a new instance of the GH_AddStateAction 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.

(Inherited from GH_ArchivedUndoAction.)


Protected method

(Overrides

.)


Protected method

(Overrides

.)


Public Method

(Overrides

.)


Public Method

(Inherited from GH_UndoAction.)


Protected method

Serializes the obj into the local archive.

(Inherited from GH_ArchivedUndoAction.)


Protected method

Serializes the obj into the local archive.

(Inherited from GH_ArchivedUndoAction.)


Public Method

(Inherited from GH_UndoAction.)


Public Method

(Overrides

.)


Fields

Name

Description


Protected field

m_data

Internal data storage for serialized archives.

(Inherited from GH_ArchivedUndoAction.)