From: John Stone (johns_at_ks.uiuc.edu)
Date: Tue Dec 23 2008 - 11:12:38 CST

Yes, though the details depend greatly on what you consider to
be the "center" of each molecule. The procedure for doing this
would be to calculate the "center" for each of the molecules,
and then compute the distance via trivial scripting. If you want
the center of mass, you should be able to use "measure center", for
example. You'll be well-served to look through the VMD tutorials
and the User's Guide for details on the routines that exist for
this sort of thing.

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu

On Tue, Dec 23, 2008 at 12:06:22PM -0500, Taufik Al-Sarraj wrote:
>
> Is it possible to calculate the distance between the center of two
> molecules in vmd?

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078