ms_gui_edit_current
Queue molecule-building edits on the current GUI document: add/delete bonds or atoms, change element, recalculate bonds, clean, or adjust hydrogen.
Instructions
Queue a basic molecule-building edit on the current GUI document, such as adding/deleting bonds, changing an atom element, adding/deleting atoms, recalculating bonds, Clean, or AdjustHydrogen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| z | No | ||
| atom | No | Atom selector by atom Name or 1-based atom index. | |
| name | No | ||
| atom1 | No | First atom selector by atom Name or 1-based atom index. | |
| atom2 | No | Second atom selector by atom Name or 1-based atom index. | |
| element | No | ||
| bondType | No | Single | |
| operation | No | Clean | |
| cleanAfter | No | ||
| exportFile | No | ||
| ballAndStick | No | ||
| documentName | No | ||
| cleanIterations | No | ||
| adjustHydrogenAfter | No | ||
| allowPeriodicBondGuess | No | Allow broad CalculateBonds on periodic documents. Keep false unless the user explicitly accepts periodic bond guessing. |