Hi Bob,
I have updated my jmol version to 12.1.41 (I was in 12.1.33) and now it
works.
SOLVED
I don't if it is important but the command :
set bondPickingMode ident
does not work ("unrecognized SET parameter: bondpickingmode")
Is there any hope to have it working not only with the middle of the
bond but also when another part of the bond is clicked.
As far as I know, all objects that are clickable are points/atoms like
(even for draw objects).
Concerning the draw picking infos, is it possible to create something like :
set picking draw
set drawPickingMode ident
set pickCallback alert
... to otain the infos of the draw object picked (like show draw)?
Thanks
Yves
Le 31/03/2011 00:29, Robert Hanson a écrit :
Well, in any case, something is setting the bondPickingMode, and I did
find that modelkit was doing it.
What is the exact context you are seeing this problem in, Yves?
Bob
On Tue, Mar 29, 2011 at 1:33 PM, Yves Noel <[email protected]
<mailto:[email protected]>> wrote:
Otis : Ok. I was using 12.1.33; excuse me for disturbing.
Bob : Are you thinking about a bug for my "draw info" problem?
I do not know nothing about modelkit mode. (So I guess I don't use
it ).
Thanks
Yves
Le 29/03/2011 18:59, Robert Hanson a écrit :
Q: Were you using modelKit mode?
On Tue, Mar 29, 2011 at 11:50 AM, Robert Hanson
<[email protected] <mailto:[email protected]>> wrote:
ouch! Definitely a bug!!! I'll check.
On Tue, Mar 29, 2011 at 11:03 AM, Yves NOEL
<[email protected] <mailto:[email protected]>> wrote:
Hi Jmol users,
I need your help for 2 subjects:
A) I want to know which bond was clicked by the user.
I have typed in the console the following commands:
set bondpicking true
set picking on
set pickcallback "alert"
2 remarks:
1) I have to click right on the middle of the bond to
have the info
2) Once the "alert" message displayed, the bond is
deleted although I
have never used the "set picking DELETEBOND" command.
Is this behavior normal?
B) I haven't find a way to retrieve the info of a draw
object that has
been picked.
It would be useful (to me at least) to have something like:
set pickcallback "alert"
set picking draw
to get the draw informations (the same as "show draw")
I have tried the following:
+ In a javascript file :
function testdraw(){
var dr=jmolScriptEcho('show draw');
alert(dr);
}
+ In the jmol console (or script file)
set pickcallback "testdraw" ;
set picking draw ;
But nothing happens. Am I wrong somewhere?
Thank you for your help
Yves NOEL
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management
Technology to meet the
growing manageability and security demands of your
customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology -
will your software
be a part of the solution? Download the Intel(R)
Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Jmol-users mailing list
[email protected]
<mailto:[email protected]>
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 <tel: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
--
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 <tel: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
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today!http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Jmol-users mailing list
[email protected] <mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/jmol-users
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to
meet the
growing manageability and security demands of your customers.
Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your
software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Jmol-users mailing list
[email protected]
<mailto:[email protected]>
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
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users