ReplayHistoryData
ReferencesProvides history information to commands that will repeat history construction. Generally, a developer using this class will not construct a new instance, but receive one.
Properties
ReplayHistory overrides check the version number to ensure the information saved in the history record is compatible with the current implementation of ReplayHistory
Each history record has a unique id that Rhino assigns when it adds the history record to the history record table
Provides access to BOTH inputs and outputs of the replay history operation.
Use this property to then call an appropriate UpdateToX() method and make your custom history support work.
Methods
Create an empty history result and add it to the end of the Results array. Note that you should call Results again if you need them as the old Results array will be out of sync with this class.
public void Dispose()
In ReplayHistory, use GetRhinoObjRef to convert the information in a history record into the ObjRef that has up to date RhinoObject pointers
Parameters:
| id (int) | HistoryRecord value id |
Returns: ObjRef on success, null if not successful
Update the Results array with a different set of values. Null entries in the newResults will result in empty ReplayHistoryResult elements
Parameters:
| newResults (IEnumerable<ReplayHistoryResult>) |