 
 
 
 
 
 
 
 
 
 
 Next: axes
 Up: Controlling VMD from Python
 Previous: Controlling VMD from Python
     Contents 
     Index 
animate
Python operations available from the animate module, used to
control which coordinate frames are displayed.
- forward():
- reverse(): 
	forward() and reverse() causes VMD to start animating 
	frames automatically in order of increasing or decreasing frame
	number, respectively.
 
- once():
- rock():
- loop(): 
	once(), rock(), and loop() control how frames are
	cycled when VMD is animating a series of frames.  once() causes
	VMD to stop when it reaches the first or last frame.  rock()
	causes VMD to reverse direction each time it gets to the beginning
	or end.  loop() causes VMD to continue from the beginning when
	reaches the last frame, or from the last frame if it gets to the 
	beginning.
 
- style(): 
	Returns either 'Once', 'Rock', or 'Loop', 
	corresponding to the animation mode VMD is currently in.
 
- goto(frame): 
	Set the animation to the given frame, and pause the animation.
 
- prev(): 
	Step to the next-lowest frame, then pause.
 
- next(): 
	Step to the next-highest frame, then pause.
 
- pause(): 
	Stop animating frames.
 
- speed(value): 
	Get/set the relative rate at which VMD animates frames.  value
	should lie between 0 and 1.  If a value less than 0 is given, then
	the speed will not be changed.  The new value of the speed is always
	returned.
 
- skip(value): 
	Get/set the number of frames to skip when animating.  A value of 1
	means every frame is shown; 2 means every other frame is shown; etc.
	If value is 0 or less, no change is made.  The new value of
	the speed is always returned.
 
- is_active(molid): 
	Returns whether the molecule with the given id is active; that is;
whether it responds to animation or not.
 
- activate(molid, trueorfalse): 
	Make the molecule with the given id active or not.  Active molecules
update their coordinate frames during animation; inactive molecules do not.
 
 
 
 
 
 
 
 
 
 
 
 Next: axes
 Up: Controlling VMD from Python
 Previous: Controlling VMD from Python
     Contents 
     Index 
vmd@ks.uiuc.edu