Practical Tips for Saving and Customizing Measurement Labels in SAMSON

In molecular modeling, having precise and easily interpretable measurements is essential. Whether it’s monitoring bond lengths, angles, or dihedral torsions, keeping track of these parameters can greatly enhance a modeler’s ability to draw insights. SAMSON’s Measure editor offers powerful functionality for these measurements, but what if you need to save them for later use or customize their appearance? Let’s take a closer look at how SAMSON handles measurement labels and how you can make them work for you.

Saving Measurements as Labels

When using the Measure editor in SAMSON, any measurement you create—such as a bond length or atom-atom distance—starts as a temporary entity. This means it will stay visible while you work but disappear once a new measurement is made. If you want to reference measurements later or document them in your work, you need to save them as labels. Here’s how:

  • After making a measurement (e.g., by clicking on two atoms to measure the distance), press Enter. This action saves the measurement as a label within your document.
  • Saved labels persist in the SAMSON document and will also be stored if you save the file in one of SAMSON’s native formats (.sam or .samx).

Labels are not static entities—they remain dynamic and update automatically if you move the associated atoms or change their properties. This makes them particularly useful for monitoring measurements during simulations or adjustments.

Measuring example

Customizing Appearance

Measurement labels in SAMSON are more than just numbers; they are fully customizable to suit your preferences and project needs. For example:

  • The font, color, and offset of the labels can all be adjusted. Use the Inspector tool to access these options.
  • You can change the colors of specific measurement elements, such as distance lines or angle planes. For example, you might use color coding to differentiate between various measurements in your model.
  • If needed, you can reset colors to their defaults through the Inspector. For text color, simply click the X button next to Text color. For line colors, double-click the associated text in the Inspector.

These features provide significant flexibility, ensuring that your measurements integrate smoothly into your visualizations.

Reset text color

A Global Approach to Label Preferences

If you want consistent styling across all your labels, head to Preferences > Rendering > Labels. Here, you can define global settings, like the font and the number of decimal places displayed for measurements. Labels that don’t have overriding local settings will follow these global preferences. Fine-tuning these parameters can save you time and ensure your measurements adhere to specific formatting guidelines.

The labels preferences

Conclusion

Using measurement labels in SAMSON allows molecular modelers to keep track of critical data and customize it for clarity and aesthetics. By saving measurements as labels, you make them persistent and ready for sharing or further inspection. And with extensive customization options, your data presentation will always remain clear and professional.

Explore the full set of features and step-by-step instructions in the official SAMSON documentation here: https://documentation.samson-connect.net/users/latest/measuring/.

Note: SAMSON and all SAMSON Extensions are free for non-commercial use. You can download SAMSON at https://www.samson-connect.net.

Comments are closed.