My plugin needs to create a temporary path by creating an Action for Adobe's Offset Path. That creates an extra "Offset Path" item in the Undo History that I don't want, and sAIUndo->SetSilent(true) doesn't work in this case.
Is there a way to test if the last Undo entry was "Offset Path" and delete it if so?