as a matter of fact, there is.... in the prototype:
http://www.stolaf.edu/people/hansonr/jmol/test/json
I added this because it seemed so useful in terms of getting just
the atomInfo for the visible:
myArray=jmolGetPropertyAsArray("atomInfo","visible")
for example.
Eric Martz wrote:
I have scripted a view by displaying all atoms, then using "restrict
not" to subtract atoms, chains, or groups listed in javascript arrays
-- "chipping away" at the molecule step by step. The result is a view
of a specified subset of the atoms.
Now I want to center the remaining visible atoms. But I don't have a
convenient way to select them.
Is there a command along the lines of "select visible" or "select
displayed"?
If not, should there be, for convenience? Perhaps it would not be
difficult to add?
----
Eric Martz, Professor Emeritus, Dept Microbiology
University of Massachusetts, Amherst MA US
http://www.umass.edu/molvis/martz
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users