HistoryRecord
ReferencesProvides a single bundling of information to be passed to Rhino when setting up history for an object.
Remarks: To use this object, just pass it to a RhinoDoc.Add() method along with the needed geometry. Do not reuse this class for more than one history addition.
Constructors
Finalizer
~HistoryRecord
#~HistoryRecord()
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
Properties
When an object is replaced and the old object has a history record with this field set, the history record is copied and attached to the new object. That allows a descendant object to continue the history linkage after it is edited.
Methods
public void Dispose()
Actively reclaims unmanaged resources that this instance uses.
Dispose
#For derived class implementers.
This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method.
You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true.
Also, you must call the base virtual method within your overriding method.
Parameters:
| disposing (bool) | true if the call comes from the Dispose() method; false if it comes from the Garbage Collector finalizer. |
Parameters:
| id (int) | |
| values (IEnumerable<bool>) |
Parameters:
| id (int) | |
| values (IEnumerable<Color>) |
Parameters:
| id (int) | |
| values (IEnumerable<double>) |
Parameters:
| id (int) | |
| values (IEnumerable<Guid>) |
Specifies a non-zero integer that identifies the version of this history record. The virtual ReplayHistory() functions can check this version to avoid replaying history using information created by earlier versions of the command.
Parameters:
| historyVersion (int) | Any non-zero integer. It is strongly suggested that something like YYYYMMDD be used. |
Returns: True if successful.
Parameters:
| id (int) | |
| values (IEnumerable<int>) |
Parameters:
| id (int) | |
| values (IEnumerable<Point3d>) |
Parameters:
| id (int) | |
| values (IEnumerable<string>) |
Parameters:
| id (int) | |
| values (IEnumerable<Vector3d>) |