What’s new in SAMSON 2024 - Coding#
This is Part IV of What’s new in SAMSON 2024, the release notes for SAMSON 2024.
New Python templates#
SAMSON 2024 introduces new Python templates, accessible from the Code editor (Ctrl / Cmd + 9):
Python code for SAMSON commands#
SAMSON 2024 makes it very easy to get the Python code corresponding to SAMSON commands. For example, to know the code corresponding to the Add hydrogens command, begin by searching the command in the Find everything box (Shift+E):
and click on the Copy icon next to the message "This command is available as Python code".
You can then use the code in the Code editor or in the Python console (Ctrl / Cmd + 8).
Python code for colorization#
SAMSON 2024 also makes it easy to access Python code corresponding to color bars:
as well as to Visual Presets, by clicking on the Copy as Python code button:
Next#
Go to Part V about Collaboration.