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.
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.
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.