GH_GenericObjectAction
GH_ArchivedUndoActionGH_UndoActionRecords 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.
Constructors
GH_GenericObjectAction
#Fields
Properties
ExpiresDisplay
Override this property if you want the Rhino viewport display to refresh upon undo completion.
Implements: ExpiresDisplay
Implements: State
Methods
Deserialize
Deserializes the obj from the local archive.
Exceptions:
| ArgumentNullException | Thrown when obj is a null reference. |
| NullReferenceException | Thrown when the internal archive data is null. |
| IOException | Thrown when the deserialization fails. |
Overrides: GH_UndoAction.Read
Implements: Redo
Serialize
Serializes the obj into the local archive.
SerializeToByteArray
Serializes the obj into the local archive.
Implements: Undo
Overrides: GH_UndoAction.Write