Aidan, You CAN select bonds, but it's not advertised. To see how it's done, do something with a few selected bonds (color them, for instance) and then do
show state you will see how Jmol 11 allows selecting bonds and manipulating them as entities. No labels, no pick. If you want to label and have pick callbacks on bonds, what you do is for whatever bonds you want you could put a transparent point using DRAW. draw ptCenter1 (atomno=1) (atomno=3) translucent 1.0 "label" and if you want, you could make that label appear when the user hovers over the "bond" i.e. point. I have to think if you can get a pick callback on that, though.... Bob Aidan Heerdegen wrote: >Bob, > >How hard would it be to make bonds 'first class citizens' of Jmol? By >this I mean being able to do all the things with bonds that we can do >with atoms e.g. label, pick, hover labels, that sort of thing? > >Can I do it already and I am just too stupid to realise? > >I'd like to be able to label my bonds, have those labels disappear >when the bonds do. I'd also like to be able to pick bonds and trigger >a callback when that happens. > >Whaddya reckon? > >Cheers > >Aidan > >-- >Research School of Chemistry >Australian National University >ACT 0200, Australia > > > >------------------------------------------------------------------------- >This SF.net email is sponsored by DB2 Express >Download DB2 Express C - the FREE version of DB2 express and take >control of your XML. No limits. Just data. Click to get it now. >http://sourceforge.net/powerbar/db2/ >_______________________________________________ >Jmol-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/jmol-users > > -- Robert M. Hanson Professor of Chemistry St. Olaf College Northfield, MN http://www.stolaf.edu/people/hansonr 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 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

