Skip to content

GH_GenericObjectAction

Public Class

Records a single object change. Object changes are undone/redone by (de)serializing the objects. Object changes also keep track of all wires feeding into and coming out of the object.

Inheritance Hierarchy

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

Namespace: Grasshopper.Kernel.Undo.Actions

Assembly: Grasshopper (in Grasshopper.dll)

Syntax

public class GH_GenericObjectAction : GH_ArchivedUndoAction

The GH_GenericObjectAction type exposes the following members.

Constructors

Name

Description


Public Method

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

(Overrides

.)


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

(Inherited from GH_ArchivedUndoAction.)


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

(Inherited from GH_ArchivedUndoAction.)


Fields

Name

Description


Protected field

m_data

Internal data storage for serialized archives.

(Inherited from GH_ArchivedUndoAction.)