Hi folks, I’m trying to get some feedback from Jmol when the user modifies a structure using “set picking assignatom_?”
I’ve tried “set picking assignatom_O” so when the user clicks on an atom it changes to oxygen. I thought set StructureModifiedCallback would trigger when the user clicks on an atom to make the change, but it doesn’t seem to be working. set PickCallback doesn’t work either in this mode, but does if I just do “set picking true.” So far, I’ve been testing things in the Jmol application (14.2.13) before I begin really making something, but I can’t seem to find a callback that will notify me when the user changes the structure using assignatom. The way I’ve been testing is through the Jmol console. set picking assignAtom_O set StructureModifiedCallback “jmolscript:print 1;” … (click around and change the structure, but nothing happens in the console) Note: the above testing works fine if I do something like set hoverCallback “jmolscript:print 1;” (of course it only triggers on hover, not when I change the structure). Am I doing something wrong? Eventually, this will be a JSmol applet that allows the user to change the structure, after which it would calculate partial charges, minimize, and show an MEP mapped isosurface. The thing holding me up now is knowing when the structure has changed. Thanks, -Dan Damelin ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users