> jmolEvaluate is available via this route (Bob???), hence my use of callbacks.

I understand that Jmol.evaluateVar() is the way to go; please see:
http://wiki.jmol.org/index.php/Jmol_JavaScript_Object/Functions#evaluateVar

So, rewriting Eric's code, it could be (Javascript):

var theSeq = Jmol.evaluateVar ( myJmol, '{chain=a}.find("sequence")' );

where "myJmol" is the name of your Jmol object

You should certainly forget about Jmol2.js -- that is a transitional file to be 
able to use the
new JSmol object withot rewriitng the old (Jmol.js-based) syntax. I believe 
that's not
Luciano's case.



---
El software de antivirus Avast ha analizado este correo electrónico en busca de 
virus.
http://www.avast.com
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to