VMD-L Mailing List
From: Oren Elrad (oelrad_at_gmail.com)
Date: Fri Aug 15 2008 - 11:33:02 CDT
- Next message: Axel Kohlmeyer: "Re: Question about trace vmd_frame(molid)"
- Previous message: Semorale: "RMSD SCRIPT"
- Next in thread: Axel Kohlmeyer: "Re: Question about trace vmd_frame(molid)"
- Reply: Axel Kohlmeyer: "Re: Question about trace vmd_frame(molid)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi all,
I have a molecule (id 0) with a number of frames loaded into VMD for
Win32 v 1.8.6 and a procedure that I would like to be run every time
the frame changes. Following the example scipt* on the site, I tried
the following in tkl:
>Main< (VMD) 49 % proc do_stuff {} {puts "blah"}
>Main< (VMD) 51 % trace variable vmd_frame(0) w do_stuff
but this does not do anything when the frame changes. I've tried
various permutations of this syntax, as well as tracing
vmd_timestep(0)
*http://www.ks.uiuc.edu/Research/vmd/script_library/scripts/sscache/sscache.tcl
Any help would be appreciated.
Oren
- Next message: Axel Kohlmeyer: "Re: Question about trace vmd_frame(molid)"
- Previous message: Semorale: "RMSD SCRIPT"
- Next in thread: Axel Kohlmeyer: "Re: Question about trace vmd_frame(molid)"
- Reply: Axel Kohlmeyer: "Re: Question about trace vmd_frame(molid)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]