Jmol users:

You should check out 
http://www.stolaf.edu/academics/chemapps/jmol/docs/examples-11/new.htm

item # 12 is pretty interesting. Amazingly simple to implement. Tim and 
Frieda have been doing this for years somehow, but I think this is 
easier than ever.

12. variables allowed in Jmol commands

# Jmol 11.1.12 introduces a whole new concept in variables. Once a 
variable is assigned a value, you can use it in ANY Jmol command by 
prepending an @ sign to it. This allows, for example, variable spacefill 
or file names or basically anything. You do have to stay away from 
special names for variables such as "radius" -- pick names that you know 
will be unique.

 load gold.cif {5 5 5};
 auRadius = 0.4
 spacefill @auRadius; auRadius = auRadius * 1.5
 #now click on the above link a few times
 script gold.spt # some nice effects are now easily scripted

Check this out:

# fade unwanted atoms

select not selected
auRadius = 1.45
message _here1
auRadius = auRadius - 0.02
spacefill @auRadius
refresh
if (auRadius > 0.02);goto _here1;endif

display not selected


That give anyone some ideas? Fun!

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