Skip to main content
3-Newcomer
June 30, 2026
Question

Does saving a model clear the Undo stack in Creo Parametric?

  • June 30, 2026
  • 1 reply
  • 0 views

Hi everyone,

We are currently developing a Creo TOOLKIT-based connector that synchronizes Creo models with an external system.

As part of the synchronization workflow, the connector needs to detect changes made to the model (such as newly added parameters or geometry modifications). Before these changes can be synchronized, the model must first be saved so that the latest state is available. To avoid requiring users to manually save after every change, the connector automatically saves the model when necessary.

However, we've observed that once the model is saved, the Undo history appears to be cleared. As a result, the user can no longer perform undo operations on the model that were enabled before the save.

In some other CAD applications (e.g., Autodesk Inventor), saving the model does not clear the Undo history, allowing users to continue using Undo even after an autosave.

I'd like to understand whether this behaviour is expected in Creo.

  • Is it by design that File → Save (or ProMdlSave()) clears the Undo stack?
  • Is there any recommended TOOLKIT workflow to save the model while preserving the Undo history?
  • How do other Creo TOOLKIT developers handle this scenario when implementing autosave for update/publish workflows?

Any clarification or recommended approach would be greatly appreciated.

Thanks!

1 reply

Dale_Rosema
23-Emerald III
June 30, 2026

The undo stack is cleared, but after the save there is an iteration created. (filename.prt.1, filename.prt.2, ...). One can always go back to a different iteration if so desired.

Michael_Bourque
12-Amethyst
June 30, 2026

Because the undo icon is right next to save icon, I sometimes click save instead of undo and it drive me crazy. :)

Michael Bourque