When a molecule gets complicated, start with its document tree

A molecular model can look simple in the viewport while its document contains many structures, groups, representations, and other nodes. When you need to find one component, change a property, or understand what an operation affected, clicking around the image may not be enough. SAMSON’s Document view, Inspector, and History provide three complementary ways to work with that complexity: locate objects, examine them, and trace changes.

1. Find the object in the Document view

The Document view presents the active document as a hierarchical data graph. Think of it as a map of the document rather than a second molecular image. It helps you inspect how the document is organized, select nodes, show or hide them, and change the structure by dragging and dropping nodes.

When the hierarchy is large, use Filter nodes… to filter by node names or with the Node Specification Language. You can also use the node’s context menu or context toolbar to access actions relevant to that node.

Open the panel from Interface > Document view, or press Ctrl+1 on Windows and Linux or Cmd+1 on Mac.

The Document view shows the structure of a SAMSON document

If you are working across several documents, first confirm which one is active: the Document view shows the active document. You can switch documents from the list in the top-left corner of the menu, through Home > Documents, or with Ctrl/Cmd+Tab and Ctrl/Cmd+Shift+Tab. This is useful when copying structures between documents or keeping different tasks separate.

Selecting nodes in the Document view

2. Inspect before you edit

Once you have selected a node—or several nodes—open the Inspector to review their properties. The Inspector displays and edits properties for the selected nodes, and its filter can narrow the displayed attributes when you are looking for a particular value.

That shared-selection behavior is important: if multiple nodes are selected, the Inspector inspects all of them and applies edits to all of them. Before changing a property, check that the selection contains only the nodes you intend to modify. If you are unsure, return to the Document view and review the selection there.

Open the Inspector from Interface > Inspector, or press Ctrl+2 on Windows and Linux or Cmd+2 on Mac.

The Inspector showing properties of a selected atom

3. Use History to understand the path back

When you need to revisit an earlier state, the History view lists undoable operations. Clicking an operation returns to its associated state, which can help you understand how the document changed or move back through a sequence of edits.

Open History from Interface > History, or press Ctrl+3 on Windows and Linux or Cmd+3 on Mac. Keep in mind that not every operation is undoable. The documentation also notes that non-undoable operations between undoable ones can prevent SAMSON from properly undoing changes and may result in data loss. For that reason, treat History as a useful navigation aid, not as a substitute for saving important work.

The History view showing undoable operations

A practical three-step habit

  1. Locate: use the Document view’s hierarchy and filters to find the relevant node.
  2. Verify: check the selection, then use the Inspector to review the properties you plan to change.
  3. Review: consult History when you need to revisit an undoable step, and save your document before consequential edits.

This approach is especially helpful when a document contains many objects or when an edit seems to affect more than expected. Instead of relying on the viewport alone, use the hierarchy to establish what is selected, the Inspector to confirm what you are editing, and History to orient yourself among undoable changes.

For the complete interface reference, see the SAMSON Interface documentation.

Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.

Comments are closed.