With much help from Bob Hanson I have Jmol working well on ICSD-for-WWW eg:
http://icsd.ill.fr/icsd/index.php?action="">
using Jmol 10.x.20a, but I have a few new naive questions :-)

1) Can Jmol return a list of all atom types in the drawing so that I can create a menu to select just some types. Yes I know that the menu Jmol/Select/Element does that, but how can I retrieve that list ? I suppose there must be some general mechanism for returning information from Jmol, but I only know about the drawing instructions. Maybe just a pointer to where this feedback mechanism if it exists is described ?

2) Is there some way I can toggle between all bonds off and on that restores only those bonds that were previously visible ? At present I just have a simple checkbox that draws all bonds shorter than a limit:
jmolCheckbox('connect 2.45', 'connect delete', 'bond', 'checked');
I suppose I could create a script with more complex bond drawing commands and call that from my checkbox to switch it off and on. Hmm, maybe in posing the question I have found one answer :-)

3) I can see how to animate a PDB drawing to switch between different structures separated by "model n" statements, but I can't get that syntax to work for CIF files. Am I missing something simple ?

Sorry if these are dumb questions. Alan.


_____________________________________________________________
Dr Alan Hewat, ILL Grenoble, FRANCE<[EMAIL PROTECTED]>fax+33.476.20.76.48
+33.476.20.72.13 (.26 Mme Guillermet) http://www.ill.fr/dif/AlanHewat.htm
_____________________________________________________________
-------------------------------------------------------------------------
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