Easily Undo and Redo Operations in SAMSON

When working on complex molecular models, it’s not uncommon to make an action you wish you could take back. Perhaps you moved an atom group the wrong way or applied a transformation prematurely. These situations are especially common during exploratory modeling or when managing multiple documents. That’s why understanding how to use the Undo and Redo features in SAMSON can significantly improve your workflow.

SAMSON provides a history system for each document you’re working with. This means that each document tracks its own history of operations, and you can undo or redo most actions individually without affecting other documents.

Accessing the History View

The best way to navigate through past operations is via the History view. You can access this from the menu:

  • Interface > History

Or use keyboard shortcuts:

  • Windows and Linux: Ctrl + 3
  • macOS: Cmd + 3

This view offers a graphical way to browse earlier states of your document by clicking on specific actions you’ve previously performed.

The history view

Undo and Redo Shortcuts

You can also undo and redo actions from the Edit menu, or use the following familiar shortcuts:

  • Undo: Ctrl + Z (Windows/Linux), Cmd + Z (Mac)
  • Redo: Ctrl + Y (Windows/Linux), Cmd + Y (Mac)

This allows quick correction of mistakes or exploration of alternative modeling strategies without fear of losing work.

Going through the history

What Can Be Undone?

Most modeling and editing actions are undoable, providing flexibility and security when developing molecular systems. However, it’s worth noting that not all operations can be reversed. If you perform non-undoable actions in between undoable ones, SAMSON might be unable to properly revert previous operations. This could lead to data loss.

Helpful Use Cases

The Undo/Redo system in SAMSON is particularly useful when:

  • Testing various structural hypotheses without saving multiple copies.
  • Accidentally deleting elements or modifying parameters.
  • Teaching or demonstrating workflows where step-by-step reversibility is helpful.

Having document-specific histories ensures you can work confidently on multiple project files in parallel without worrying about cross-file interference.

For more information and additional details, refer to the full documentation here: https://documentation.samson-connect.net/users/latest/history/.