GH_AddStateAction Class

GH_AddStateAction Class

Record the addition of a single solution state to a document.
Inheritance Hierarchy
SystemObject
  Grasshopper.Kernel.UndoGH_UndoAction
    Grasshopper.Kernel.UndoGH_ArchivedUndoAction
      Grasshopper.Kernel.Undo.ActionsGH_AddStateAction

Namespace:  Grasshopper.Kernel.Undo.Actions
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public class GH_AddStateAction : GH_ArchivedUndoAction
Public Class GH_AddStateAction
	Inherits GH_ArchivedUndoAction

The GH_AddStateAction type exposes the following members.

Constructors
  NameDescription
Public methodGH_AddStateAction
Initializes a new instance of the GH_AddStateAction class
Top
Properties
  NameDescription
Public propertyExpiresDisplay
Override this property if you want the Rhino viewport display to refresh upon undo completion.
(Inherited from GH_UndoAction.)
Public propertyExpiresSolution
Override this property if you want the Grasshopper solution to refresh upon undo completion.
(Inherited from GH_UndoAction.)
Public propertyState (Inherited from GH_UndoAction.)
Top
Methods
  NameDescription
Protected methodDeserialize
Deserializes the obj from the local archive.
(Inherited from GH_ArchivedUndoAction.)
Protected methodInternal_Redo (Overrides GH_UndoActionInternal_Redo(GH_Document).)
Protected methodInternal_Undo (Overrides GH_UndoActionInternal_Undo(GH_Document).)
Public methodRead (Overrides GH_ArchivedUndoActionRead(GH_IReader).)
Public methodRedo (Inherited from GH_UndoAction.)
Protected methodSerialize
Serializes the obj into the local archive.
(Inherited from GH_ArchivedUndoAction.)
Protected methodSerializeToByteArray
Serializes the obj into the local archive.
(Inherited from GH_ArchivedUndoAction.)
Public methodUndo (Inherited from GH_UndoAction.)
Public methodWrite (Overrides GH_ArchivedUndoActionWrite(GH_IWriter).)
Top
Fields
  NameDescription
Protected fieldm_data
Internal data storage for serialized archives.
(Inherited from GH_ArchivedUndoAction.)
Top
See Also