M_Rhino_Commands_Command_ReplayHistory - mcneel/rhinocommon-api-docs GitHub Wiki
Repeats an operation of a command. In order to make this function work, you will likely need to grab the Result property that gives the list of input objects. Then, you will be able to replace these inputs by using one of the UpdateToX() methods of the ReplayHistoryResult.
You should NOT use any document AddX() or ReplaceX() functions, as they will break history.
Namespace: Rhino.Commands
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
protected virtual bool ReplayHistory(
ReplayHistoryData replayData
)
VB
Protected Overridable Function ReplayHistory (
replayData As ReplayHistoryData
) As Boolean
- replayData
- Type: Rhino.DocObjects.ReplayHistoryData
The replay history information.
Type: Boolean
true if the operation succeeded.
The default implementation always returns false.
Supported in: 5D58w