Difference between revisions of "Persistent Parameters"

From Jmol
Jump to navigation Jump to search
 
 
Line 1: Line 1:
 +
{{TOCRight}}
 
= Persistent parameters =
 
= Persistent parameters =
 
Associated to the app/applet and hence maintained when a new molecule is loaded:
 
Associated to the app/applet and hence maintained when a new molecule is loaded:
Line 38: Line 39:
 
= Nonpersistent parameters =
 
= Nonpersistent parameters =
  
These are reset when the model is removed, or another model is loaded.
+
These are reset when the model is removed (or another model is loaded).
  
 
Everything else, including e.g.:
 
Everything else, including e.g.:
  
orientation
+
* orientation
spinning
+
* spinning
colors
+
* colors
sizes
+
* sizes
visibility
+
* visibility
labels
+
* labels
atom selection
+
* atom selection

Latest revision as of 00:05, 14 February 2007

Persistent parameters

Associated to the app/applet and hence maintained when a new molecule is loaded:

Lighting

background <color>
set ambientPercent <number>
set diffusePercent <number>
set specular <boolean>
set specularPercent <number>
set specularPower <number>
set specularExponent <number>

Bonding

set autoBond <boolean>
set forceAutoBond <boolean>
set percentVdwAtom <number>
set bondRadiusMilliAngstroms <number>
set minBondDistance <number>
set bondTolerance <number>
set defaultLattice <coordinates>
set allowEmbeddedScripts <boolean>
set defaultLoadScript <text>

Other settings

set defaultColorScheme <text>
set showMeasurements <boolean>
set showHydrogens <boolean>
set perspectiveDepth <boolean>
color <element> <color>
set axesUnitcell;

Nonpersistent parameters

These are reset when the model is removed (or another model is loaded).

Everything else, including e.g.:

  • orientation
  • spinning
  • colors
  • sizes
  • visibility
  • labels
  • atom selection

Contributors

AngelHerraez