VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon Jun 17 2002 - 13:40:21 CDT
- Next message: Christian Simon: "No 'Primary File Type' in Load menu (v1.8a10 on MacOSX)"
- Previous message: John Stone: "Re: Tracking devices and VMD"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Dear Erik,
Yes, you can perform the same move commands that you do with the mouse
by using the the atom selection features in VMD. First you need to create
an atom selection, then you can use the "moveby" method on the atom selection
to alter the position of the selection. For an entire molecule, you'd just
want to use "all" as your selection text. There's an example of how to do
these sorts of things in the User's guide here:
http://www.ks.uiuc.edu/Research/vmd/vmd-1.7.1/ug/node181.html
Be sure to read the entire "moveby" user's guide text, as it illustrates
several ways to accomplish the same thing using different features, and
from what you asked, it sounds like you just need the built-in "moveby"
atom selection feature.
Thanks for using VMD,
John Stone
vmd_at_ks.uiuc.edu
On Mon, Jun 17, 2002 at 01:01:37PM -0500, owner-vmd-l_at_ks.uiuc.edu wrote:
> To: vmd-l_at_ks.uiuc.edu
> From: storme_at_rpi.edu
> Date: Mon, 17 Jun 2002 14:01:30 EDT
> Subject: moving objects
>
> Hi,
> I've been using VMD to create various movies and one of the things
> that I would like to do is use the move command. I know how to do this
> using the mouse but I would like to make a script that would do all the
> movement for me. So, I was wondering if there is a text command version of
> move. Thanks for your time.
> Erik Storm
-- 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
- Next message: Christian Simon: "No 'Primary File Type' in Load menu (v1.8a10 on MacOSX)"
- Previous message: John Stone: "Re: Tracking devices and VMD"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]