I don't know about this for sure, but I've always believed that there is no undo for an FDK or ES action, unless you track it and undo it yourself. There used to be hardly any undo for FM at all, so I'd be real surprised if it was extended to the automation interfaces. Of course, I'd be interested to find out otherwise.
Very belated, but for the benefit of those like myself who are searching the archives, this worked for me:
// enable FDK undo recording; this is false by default, maybe for performance app.UndoFDKRecording = true; // get document for editing; subsequent error checking omitted var doc = app.ActiveDoc; // start of FDK calls for grouping together as a single undoable action; // the given description appears as Edit > Undo My Description doc.UndoStartCheckPoint("My Description"); // do stuff to the document that you might want to undo // end of FDK calls for grouping together as a single undoable action doc.UndoEndCheckPoint();
Thanks! That discussion mentions undo a lot. I wish I'd found it earlier.
I guess I've just learnt to use the Search Communities dialog, which would have found it:
rather than the tempting looking Type to filter by text dialog, which doesn't find it: