From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Fri Jul 19 2013 - 07:25:37 CDT

On Fri, Jul 19, 2013 at 1:35 PM, Sarah MohammadiNejad <sarah_at_iasbs.ac.ir> wrote:
> Dear all,
>
> As the output of my simulation I have 500 .pdb files (500 time evolution
> of the system).
> I want to make a movie from these files, so I use this simple script
>
> for {set frame 1} {$frame < 500} {incr frame} {
> set filename [format "test%04d.pdb" $frame]
> set mol [mol new $filename type pdb waitfor all]
> }
>
> When I run it, in the VMD main I see 500 molecules each have 1 frame but I
> need 1 molecule with 500 frames.
>
> Does anyone know what changes I should make in my script to see 1 molecule
> with 500 frames!

use mol addfile. details are in the user's guide (of course!).

axel.

>
> Thanks in advance,
> Sarah
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>

--
Dr. Axel Kohlmeyer  akohlmey_at_gmail.com  http://goo.gl/1wk0
International Centre for Theoretical Physics, Trieste. Italy.