Properties
ExpiresDisplay
#Gets the display expiration flag for this event. If True, the Rhino viewports will be redrawn once the entire undo record has been completed. If ExpiresSolution is set to true, ExpriresDisplay is implied.
ExpiresSolution
#Gets the solution expiration flag for this event. If True, the solution needs to be recalculated once the entire undo record has been completed.
Methods
Read
This method is called whenever the instance is required to deserialize itself.
Parameters:
| reader (GH_IReader) | Reader object to deserialize from. |
Returns: True on success, false on failure.
Redo
#Redo the action stored in this record.
Parameters:
| doc (GH_Document) | The target document. |
Exceptions:
| GH_UndoException | Thrown when the State flag conflicts with a redo action. |
Undo
#Undo the action stored in this record.
Parameters:
| doc (GH_Document) | The target document. |
Exceptions:
| GH_UndoException | Thrown when the State flag conflicts with an undo action. |
Write
This method is called whenever the instance is required to serialize itself.
Parameters:
| writer (GH_IWriter) | Writer object to serialize with. |
Returns: True on success, false on failure.