Skip to main content
Inspiring
March 20, 2025
Question

Illustrator C++-API: Some changes are not taken into the UNDO-Function

  • March 20, 2025
  • 1 reply
  • 228 views

I program an C++-plugin which does the following:

  • Modify the colors of Elements
  • Change the ICC-Profile of the document
  • write settings to the XMP of the document

When calling Undo for the is plugin, it changes back the colors, but the Profile and the XMP-changes were not undone. 

How to tell Illustrator that all of these steps should be reverted when calling Undo?

1 reply

Community Expert
April 1, 2025

Don't know if this is a bug. What happens if you do these operations manually, do they get added to the undo stack?

-Manan

-Manan
Inspiring
April 1, 2025

If I do it manually (means calling Edit -> Assign Profile), it is put to the Undo