GH_LayoutAction
Records a single object layout event. Useful for tracking object resizes.
Inheritance Hierarchy
System.Object
Grasshopper.Kernel.Undo.GH_UndoAction
Grasshopper.Kernel.Undo.GH_ObjectUndoAction
Grasshopper.Kernel.Undo.Actions.GH_LayoutAction
Namespace: Grasshopper.Kernel.Undo.Actions
Assembly: Grasshopper (in Grasshopper.dll)
Syntax
public class GH_LayoutAction : GH_ObjectUndoAction
The GH_LayoutAction type exposes the following members.
Constructors
Name
Description
Public Method
GH_LayoutAction
Initializes a new instance of the GH_LayoutAction class
Properties
Name
Description
Public Property
ExpiresDisplay
Override this property if you want the Rhino viewport display to refresh upon undo completion.
(Inherited from GH_UndoAction.)
Public Property
ExpiresSolution
Override this property if you want the Grasshopper solution to refresh upon undo completion.
(Inherited from GH_UndoAction.)
Public Property
State
(Inherited from GH_UndoAction.)
Methods
Name
Description
Protected method
Internal_Redo
(Inherited from GH_ObjectUndoAction.)
Protected method
Internal_Undo
(Inherited from GH_ObjectUndoAction.)
Protected method
Object_Redo
(Overrides
GH_ObjectUndoAction.Object_Redo(GH_Document, IGH_DocumentObject)
.)Protected method
Object_Undo
(Overrides
GH_ObjectUndoAction.Object_Undo(GH_Document, IGH_DocumentObject)
.)Public Method
Read
(Inherited from GH_UndoAction.)
Public Method
Redo
(Inherited from GH_UndoAction.)
Public Method
Undo
(Inherited from GH_UndoAction.)
Public Method
Write
(Inherited from GH_UndoAction.)