From: harish vashisth (
Date: Wed Nov 23 2011 - 21:43:13 CST

Yes, you can do it using a simple tcl script. I suggest reading usage of
"moveto" and "moveby" commands in vmd...For example, see the lines toward
the end on this link:

On Wed, Nov 23, 2011 at 8:51 PM, rainy908 <> wrote:

> Hi,
> I am a bit new to VMD and am getting familiarized with the basic commands.
> I would like to know how to translocate a molecule in a cubic box with a
> set of coordinates from (x,y,z) to (x-20, y-20, z), so that the molecule at
> the new location (x-20,y-20,z) remains within the original box size. (20
> being 20 Angstroms.) I'd like to do this for ~20 systems. I figure I can
> easily compose a tcl script to execute such a command?
> thanks,
> rainy908