From: Eric H. Lee (ericlee_at_ks.uiuc.edu)
Date: Tue Dec 15 2009 - 20:09:58 CST

You can make the regular atom selection (atomselect), calculate their geometric center of mass (google or search VMD-L for script examples), and then use a vector math tool (such as vecdist) to calculate the actual distance between those two points.

Eric H. Lee
Medical Scholars Program
Theoretical and Computational Biophysics Group, UIUC
ericlee_at_ks.uiuc.edu

On Dec 15, 2009, at 7:24 PM, YangMingjun wrote:

> Dear all,
>
> I am going to label distances between each of two sets of atoms. Any one who can tell me how to do it under the tk console mode?
>
> Many thanks.
>
> Best Regards.
> Mingjun
>
>
>
> -----------------------------------------------
> Dalian Institute of Chemical Physics(DICP),
> the Chinese Academy of Sciences(CAS),
>
> Zhongshan Road457, Dalian City,
> Liaoning Province 116023,P. R. China
>
>
> E-mail:
> mjyang_at_dicp.ac.cn
> Office Phone:
> +86+411+84379352
>