![]() |
||||||
|
|
|
Download |
Diamond Version 5 User Manual: Working with DiamondUndo BufferUndo and Redo can be done with multiple steps together, assisted by thumbnail pictures of the previous conditions
- Undo/Redo can be done with multiple steps together, assisted by thumbnail
pictures of the previous conditions.
Previous article: Recent Pictures To demonstrate the enhancements in Undo and Redo, we open the sample document "PCD-V2O3-1125497.diamdoc", which shows up with picture "Unit cell with bonds" of data set #1125497 of Pearson's Crystal Data (PCD). We also open the docking window "Undo Buffer" using the command "Undo Buffer" from the "View" menu. (Maybe it is necessary to dock ("pin") the window at the left side of the Diamond application window, by pressing the pin symbol in the "Undo Buffer" docking window's title bar.)
The "Undo Buffer" window is still empty. We now perform the following changes to the picture and watch the updates in the "Undo Buffer" window:
1) Destroy all: "Build" -> "Destroy" -> "All" (or simply Shift+Ctrl+D or the
symbol that you already know from Diamond version 3). The resulting Diamond window should now look like this:The "Undo Buffer" window contains thumbnails of the picture's conditions before the command execution each with the latest action on top. A tooltip window may offer you additional information, for instance how many (invisible) atoms were created in the last step of creating broken-off bonds. Alternatively, you can use a drop-down menu in the main toolbar (right beneath the "Undo" symbol), which opens a list of the last (here: seven) actions and a thumbnail of the condition you would restore when undoing the last N actions. After "undoing" the last four actions, we return to the state of the picture before the first filling of coordination spheres, and the "Undo Buffer" window now looks like this, and the four actions have moved into the redo buffer, whose drop-down menu we also opened in the following screenshot: Note: The shape of the frames in the Undo Buffer window looks different, the background is somewhat darker and the labels white rather than black to indicate that these steps are redo actions, not undo actions. The conventional way of making undo and redo stepwise - like in version 2, 3, and 4 of Diamond - is still available, too: Edit -> Undo or Ctrl+Z; Edit -> Redo or Ctrl+Y, rsp.
Previous article: Recent Pictures
Reference: |
Page last modified August 22, 2023. Copyright © 2023 Crystal Impact GbR. All rights reserved. Contact Webmaster |