At 10/16/08, Eran Hodis wrote:
>In the commandline or in a Jmol script you can do
>
>numModels = getProperty("modelInfo","modelCount");
>if (numModels > 1) ...

Thank you Eran, that is exactly what I wanted.

Now I'd like to know the simplest way to get an atom's color into a 
Jmol script variable. I got as far as

myAtomColor = getProperty("atomInfo", {3:a.n})

but that gives me a long list of atomInfo including the color. How to 
I get just the color RGB value?

Thanks, -Eric 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to