VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Mon Sep 08 2014 - 00:34:10 CDT
- Next message: ankit agrawal: "Overlaying multiple files in VMD"
- Previous message: Eric Smoll: "update selection used in "animate write""
- In reply to: Eric Smoll: "update selection used in "animate write""
- Next in thread: John Stone: "Re: update selection used in "animate write""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Mon, Sep 8, 2014 at 12:43 AM, Eric Smoll <ericsmoll_at_gmail.com> wrote:
> Hello VMD users,
>
> Under "graphics -> representations", the trajectory tab has a option to
> "update selection every frame". From the terminal, I believe this can be
> accomplished with with command "mol selupdate 0 0 on".
>
> When i use "animate write $TYPE $FILETYPE sel $SEL" on a selection, the
> selection is not updated. I assume the output atoms are those captured when
> the selection is set. "mol selupdate 0 0 on" does not seem to impact the
> output of "animate write." How can I update my selection for every frame
> output by "animate write"?
you cannot. trajectory file input and output in VMD assumes that the
number, identity, and order of atoms doesn't change.
the only way to get the output you desire is to program a loop and
output individual frames and update the selection in between. you'd
then have to postprocess the resulting files. mind you, it may not be
readable by VMD for the reason mentioned above.
axel
>
> -Eric
-- Dr. Axel Kohlmeyer akohlmey_at_gmail.com http://goo.gl/1wk0 College of Science & Technology, Temple University, Philadelphia PA, USA International Centre for Theoretical Physics, Trieste. Italy.
- Next message: ankit agrawal: "Overlaying multiple files in VMD"
- Previous message: Eric Smoll: "update selection used in "animate write""
- In reply to: Eric Smoll: "update selection used in "animate write""
- Next in thread: John Stone: "Re: update selection used in "animate write""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]