Skip to main content
Rick E Johnson
Inspiring
February 14, 2025
Question

SDK method to delete previous Undo

  • February 14, 2025
  • 0 replies
  • 122 views

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?