What is the simplest command to toggle spinning?
I am already using Angel's "bullet proof" method, which involves 
messageCallback and message parsing.

With the new variables in Jmol, I would think something along these 
lines would be possible:

spin = !spin

set spin = !spin

if (spin); spin off; else; spin on; end if;

but none of those work in Jmol applet 11.3.51.

Under "variables with special meanings" are listed spinX, spinY, 
spinZ, spinFps, but spinY and spinFps return "not set" or a blank 
string (as in "x = spinFps"), despite "show spin" listing values for each.

More generally, while some "special variables" seem to behave as I'd 
expect, such as

"show zoomLarge" shows "zoomlarge = true"
"show backgroundcolor" shows "backgroundcolor = "[x000000]"
"show hoverdelay" shows "hoverdelay = 0.5"
"show ribbonborder" shows "ribbonborder = false"

and indeed

"zoomlarge = !zoomlarge" toggles the Boolean value of this variable,

  other "special variables" including the spin variables don't seem 
to work this way (Jmol 11.3.51), e.g.

"show frank" shows "frank = ?"
ditto for "show solvent"
ditto for fontsize
<not set> for messagecallback (even though it is set)

Please advise. Thanks, -Eric


/* - - - - - - - - - - - - - - - - - - - - - - - - - - -
Eric Martz, Professor Emeritus, Dept Microbiology
U Mass, Amherst -- http://www.umass.edu/molvis/martz

Top Five 3D MolVis Technologies http://Top5.MolviZ.Org
Biochem 3D Education Resources http://MolviZ.org
See 3D Molecules, Install Nothing! - http://firstglance.jmol.org
Protein Explorer - 3D Visualization: http://proteinexplorer.org
Workshops: http://workshops.proteinexplorer.org
World Index of Molecular Visualization Resources: http://molvisindex.org
ConSurf - Find Conserved Patches in Proteins: http://consurf.tau.ac.il
Atlas of Macromolecules: http://atlas.proteinexplorer.org
PDB Lite Macromolecule Finder: http://pdblite.org
Molecular Visualization EMail List (molvis-list):
       http://bioinformatics.org/mailman/listinfo/molvis-list
- - - - - - - - - - - - - - - - - - - - - - - - - - - */


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to