Try something like this: # Save as a .pml file
load $PYMOL_PATH/test/dat/pept.pdb for st in range(2,31): \ cmd.create("pept","pept",st-1,st) \ cmd.frame(st) \ cmd.edit("4/cb","4/ca") \ cmd.torsion(5) edit movie.sweep rewind mplay Cheers, Warren -- Warren L. DeLano, Ph.D. Principal Scientist . DeLano Scientific LLC . 400 Oyster Point Blvd., Suite 213 . South San Francisco, CA 94080 USA . Biz:(650)-872-0942 Tech:(650)-872-0834 . Fax:(650)-872-0273 Cell:(650)-346-1154 . mailto:war...@delsci.com > -----Original Message----- > From: pymol-users-ad...@lists.sourceforge.net > [mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of Xavier > Deupi > Sent: Monday, August 15, 2005 11:38 AM > To: pymol-users@lists.sourceforge.net > Subject: [PyMOL] torsion + movie > > Hi, > > I'm trying to create a simple movie showing the rotation around a > dihedral angle. I'm sure it's an extremely easy task, but I can't > figure out the way of loading each state (i.e. conformation of the > dihedral > angle) into the movie object. I mean, the 'load' command (as in "load > foo1.pdb,mov") expects a pdb file as an argument, but I want to load > the current state as shown in PyMOL (after modifying the torsion > angle, for instance). > Any help? > > Thanks in advance, > > Xavier > > -- > Xavier Deupi, Ph.D. > Department of Molecular and Cellular Physiology Beckman Center for > Molecular and Genetic Medicine (B161) > 279 Campus Drive, Stanford University School of Medicine Stanford, CA > 94305 (USA) > > E-mail: xavier.de...@stanford.edu > Phone: +1 (650) 725-6497 > Fax : +1 (650) 725-8021 > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices Agile & Plan-Driven Development * Managing Projects & Teams > * Testing & QA Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > _______________________________________________ > PyMOL-users mailing list > PyMOL-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pymol-users > > >