If I write a value to RhinoDoc.Strings it is not reverted as a part of an undo record. Is this expected behavior? Should I perhaps use some other mechanism for storing my metadata so that it can be reverted as a part of an undo/redo operation?
Example:
var undoId = doc.BeginUndoRecord("My operation");
// lots of geometry handling
doc.Strings.SetString("My key", "My new value");
doc.EndUndoRecord(undoId);
//If I trigger undo in the UI the value is still: "My new value"