GH_RemoveStateAction Class

GH_RemoveStateAction Class

Record the removal of a single solution state from a document.
Inheritance Hierarchy
SystemObject
  Grasshopper.Kernel.UndoGH_UndoAction
    Grasshopper.Kernel.UndoGH_ArchivedUndoAction
      Grasshopper.Kernel.Undo.ActionsGH_RemoveStateAction

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

The GH_RemoveStateAction type exposes the following members.

Constructors
  NameDescription
Public methodGH_RemoveStateAction
Initializes a new instance of the GH_RemoveStateAction 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