GH_AddStateAction
GH_ArchivedUndoActionGH_UndoActionRecord the addition of a single solution state to a document.
Constructors
Fields
Properties
ExpiresDisplay
Override this property if you want the Rhino viewport display to refresh upon undo completion.
Implements: ExpiresDisplay
ExpiresSolution
Override this property if you want the Grasshopper solution to refresh upon undo completion.
Implements: ExpiresSolution
Implements: State
Methods
Deserialize
Deserializes the obj from the local archive.
Parameters:
| obj (GH_ISerializable) |
Exceptions:
| ArgumentNullException | Thrown when obj is a null reference. |
| NullReferenceException | Thrown when the internal archive data is null. |
| IOException | Thrown when the deserialization fails. |
Parameters:
| doc (GH_Document) |
Implements: Redo
Parameters:
| obj (GH_ISerializable) | Object to serialize |
SerializeToByteArray
Serializes the obj into the local archive.
Parameters:
| obj (GH_ISerializable) | Object to serialize |
Parameters:
| doc (GH_Document) |
Implements: Undo