Argh. Definitely a bug. Will be corrected for Jmol 12.0.33; fixed for Jmol
12.1.36 http://chemapps.stolaf.edu/jmol/docs/examples-12/Jmol-12.zip
set bondPicking TRUE should just pick the bond, not delete it.
Bob
On Thu, Feb 17, 2011 at 11:39 AM, Adam Cooper <a.r.coo...@bolton.ac.uk>wrote:
> Hi everyone.
>
> I have been trying to use jmol and jmol.js to intercept atom and
> bond picking. I can use the callback mechanism and get the information I
> seek but (as expected) bond pick information is only called-back with
> "set bondpicking true". In this case, the bond is also deleted (even if
> I do not issue "set picking deletebond").
>
> I found this to be counter-intuitive, but maybe I am missing
> something; is there a way to catch picked-bond info in Javascript
> without deletion occurring?.
>
> (for information, what I want to do is to provide a way for
> people to annotate individual or sets of bonds or atoms)
>
> Thanks in advance if anyone can point me to a solution.
>
> Cheers, Adam
>
>
>
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users