Chimera Commands Index

Usage:
distance atom1 atom2

Usage:
~distance [ atom1 atom2 ]

Usage:
~distance all

Distance dynamically calculates and displays distances in angstroms between specified pairs of atoms. Atom1 and atom2 may be any two atoms in the displayed models. The atoms can be specified collectively using the word selected, sel, or picked if the current selection contains only the two atoms of interest.

Distance monitors are shown as pseudobonds; color and other aspects of display can be controlled using the distance monitor attributes panel (opened from the PseudoBond Panel).

An individual distance monitor can be removed by using ~distance with specification of the two atoms involved. Using ~distance without an atom specification or with the keyword all will remove all distance monitors.

Examples:

distance #1:12@CA #0:47@CA
- measure distance between alpha carbons in model 1, residue 12 and model 0, residue 47
~distance #1:12@CA #0:47@CA
- stop measuring and displaying the distance between the two atoms

See also: findclash, hbonds, crystalcontacts, Distances, the PseudoBond Panel