distance
Measure the distance between two molecular selections in Angstroms and display it as a named object in the viewport for easy reference.
Instructions
Measures the distance between two selections and returns it in Angstrom.
Also draws the measurement in the viewport as a named distance object. With multi-atom selections PyMOL reports the average over the pairs it found within its default cutoff.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the distance object (used to delete/recolor later). | |
| selection1 | Yes | First selection. | |
| selection2 | Yes | Second selection. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |