New in 10.9.99 available at http://www.jmol.org/files :

--full serialization (saving of the current state as a file that can be 
reloaded) using

 show state

#or

getProperty stateInfo

--save/restore of state:

 save state [optional_name]
 restore state [optional_name]

APPLICATION ONLY:

--export the current state to the clipboard or a file

 write script clipboard
 write script "filename"

minor additions:

set defaultVibrationScale  x.xx
set defaultVibrationPeriod  x.xx
set defaultVectorScale  x.xx

Defaults for these are all 1.0. The values set by

vector scale x.xx
vibration scale x.xx

no longer persist past file loading. Instead, you can set those 
defaults, and they will take effect each time a new file loads. This was 
necessary for defining the state precisely.  Similarly,

set strands 5

is now file-load specific.

--data separator.  You can now load multiple file types inline. This was 
also needed for serialization, and it will ultimately allow for a single 
file to have the entire encapsulation of the state, including the model.

Simply define a separator and then use that separator between models.
set dataSeparator "~~~";
data "model test"|2|test|C 0 0 1|N 0 1 0|~~~2|test2|Al 0 0 3|Fe 0 4 
0|end "model test";
frame 1001
frame 2001
frame 0


Bob










-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to