Bob,

I have not tried this yet, but just so I understand:

1) There is no dragmolecule any longer?

2) If I have three molecules in the window, the approach below requires 
exclusive selection of the clicked model to be dragselected?

This is not a big deal, but dragmolecule covered you on this point, which was a 
convenience. Nevertheless, if the answer to 1 and 2 is “correct” and “yes," I 
can go with it.

Otis


> On May 7, 2015, at 3:31 PM, Robert Hanson <hans...@stolaf.edu> wrote:
> 
> Otis, I think what you want is:
> 
> left-drag --> move atoms
> 
> set picking  dragselected
> 
> 
> left-drag --> rotate molecule
> 
> set allowrotateselected
> unbind "_dragAtom"         // was left+drag
> unbind "_rotateSelected" // was alt+left+drag
> bind "left+drag" _rotateSelected  // now left+drag
> 
> clear all these
> 
> unbind
> 
> 
> 
> Bob
> 
> 
> 
> 
> 
> 
> On Thu, May 7, 2015 at 11:08 AM, Otis Rothenberger <osrot...@chemagic.com 
> <mailto:osrot...@chemagic.com>> wrote:
> Bob,
> 
> About a year ago, I posted a note about two lines of code that I use to allow 
> model translation and rotation without the key modification. I was concerned 
> about future breaking of the code. This is for use on tablets:
> 
> 1) CLICK/DRAG TRANSLATES:
> 
> set picking off; set picking ON; set atomPicking true; set picking 
> dragmolecule;
> 
> 2) CLICK/DRAG ROTATES:
> 
> set picking off; set picking ON; set atomPicking true;set picking 
> dragmolecule;set allowRotateSelected TRUE;bind "drag" "_rotateselected”;
> 
> With the latest update, both lines are now broken. The last version that I 
> know for sure that worked was 14.3.6_21014.08.14. In version 
> 14.3.13_2015.05.03 the lines are broken.
> 
> This may be related to your recent discussion with Rolf, but I got lost real 
> fast in that discussion! I was hoping I could ignore the discussed drag 
> complexities, but evidently not. Any help would be appreciated.
> 
> Otis
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> 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 
> <http://ad.doubleclick.net/ddm/clk/290420510;117567292;y>
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net <mailto:Jmol-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/jmol-users 
> <https://lists.sourceforge.net/lists/listinfo/jmol-users>
> 
> 
> 
> -- 
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> Chair, Department of Chemistry
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr <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
> 
> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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

Reply via email to