> This is strange, now I'm trying in the console "select 2:A.CA and 
> 1.1; catom={selected}; print catom.label" and it works... 

Not strange; print works, show does not (for this issue)

> But still this does not work...
> var label = jmolEvaluate('select 2:A.CA and 1.1; catom={selected}; 
> print catom.label');

I think that you are misusing jmolEvaluate; probably it is not 
designed for a sequence of commands.

I'm not sure, but maybe

jmolScript('select 2:A.CA and 1.1; catom={selected}; 

var label = jmolEvaluate('catom.label');

(see http://jmol.sourceforge.net/jslibrary/#jmolEvaluate )


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to