Hello-

I have been "getting" atom properties by atom number:

e.g.
document.getElementById("appletID").getPropertyAsString("atomInfo[1].color")

I am working with some script issues that force me to get atom properties by
atomIndex. Is there any way to use atomIndex as the atomInfo array index?
I've tried various string expressions (e.g. atomInfo['atomIndex=1'].color)
for the index value, but I'm not having any luck.

Otis

-- 
Otis Rothenberger
http://chemagic.org
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to