Records a single object layout event. Useful for tracking object resizes.

Constructors

GH_LayoutAction

#
public GH_LayoutAction(IGH_DocumentObject obj)
obj (IGH_DocumentObject)

Properties

ExpiresDisplay

public virtual bool ExpiresDisplay { get; }
Override this property if you want the Rhino viewport display to refresh upon undo completion.
inherited fromGH_UndoAction
ExpiresDisplay

ExpiresSolution

public virtual bool ExpiresSolution { get; }
Override this property if you want the Grasshopper solution to refresh upon undo completion.
inherited fromGH_UndoAction
ExpiresSolution

State

public GH_UndoState State { get; }
inherited fromGH_UndoAction
State

Methods

Internal_Redo

protected override void Internal_Redo(GH_Document doc)
inherited fromGH_ObjectUndoAction
doc (GH_Document)

Internal_Undo

protected override void Internal_Undo(GH_Document doc)
inherited fromGH_ObjectUndoAction
doc (GH_Document)

Object_Redo

#
protected override void Object_Redo(GH_Document doc, IGH_DocumentObject obj)

Object_Undo

#
protected override void Object_Undo(GH_Document doc, IGH_DocumentObject obj)

Read

public virtual bool Read(GH_IReader reader)
inherited fromGH_UndoAction
reader (GH_IReader)
Read

Redo

public void Redo(GH_Document doc)
inherited fromGH_UndoAction
doc (GH_Document)
Redo

Undo

public void Undo(GH_Document doc)
inherited fromGH_UndoAction
doc (GH_Document)
Undo

Write

public virtual bool Write(GH_IWriter writer)
inherited fromGH_UndoAction
writer (GH_IWriter)
Write