Re: [PyMOL] Use arrows to switch between models

2012-09-21 Thread Martin Hediger
Sweet:)
I disabled the animate but I can see its applicability in some 
situations though (makes it pretty impressive).

Definitly a must-have from now on, in fact how could I even live without 
it;)

Martin






On 20.09.12 19:38, Tsjerk Wassenaar wrote:
 Hi :)

 You can also add

 cmd.disable('all')
 cmd.enable(cur_obj)

 To have all other objects turned off. This is one I'm definitely going to use 
 :)

 Cheers,

 Tsjerk

 On Thu, Sep 20, 2012 at 6:32 PM, Jason Vertrees
 jason.vertr...@schrodinger.com wrote:
 Hi Martin,

 Is it possible to somehow assign page up or page down keys to switch
 from one loaded model to the next one in the PyMOL models list?
 This would be useful because I often have several similar models listed
 and in doing so it would be easier and convenient to identify changes
 within them.
 How about something like http://pymolwiki.org/index.php/ObjectFocus.
 It's cool what you can do with PyMOL and 8 minutes of coding.

 Two changes to the script you might want:
* replace 'orient' with 'zoom'
* don't animate the change, remote ',animate=1' from the orient command.

 Cheers,

 -- Jason

 --
 Jason Vertrees, PhD
 PyMOL Product Manager
 Schrödinger, Inc.

 (e) jason.vertr...@schrodinger.com
 (o) +1 (603) 374-7120

 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://ad.doubleclick.net/clk;258768047;13503038;j?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
 Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
 Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net




--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

[PyMOL] Use arrows to switch between models

2012-09-20 Thread Martin Hediger
Dear PyMOL users
Is it possible to somehow assign page up or page down keys to switch 
from one loaded model to the next one in the PyMOL models list?
This would be useful because I often have several similar models listed 
and in doing so it would be easier and convenient to identify changes 
within them.

Thanks for any hints
Martin

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net


Re: [PyMOL] Use arrows to switch between models

2012-09-20 Thread Jason Vertrees
Hi Martin,

 Is it possible to somehow assign page up or page down keys to switch
 from one loaded model to the next one in the PyMOL models list?
 This would be useful because I often have several similar models listed
 and in doing so it would be easier and convenient to identify changes
 within them.

How about something like http://pymolwiki.org/index.php/ObjectFocus.
It's cool what you can do with PyMOL and 8 minutes of coding.

Two changes to the script you might want:
  * replace 'orient' with 'zoom'
  * don't animate the change, remote ',animate=1' from the orient command.

Cheers,

-- Jason

-- 
Jason Vertrees, PhD
PyMOL Product Manager
Schrödinger, Inc.

(e) jason.vertr...@schrodinger.com
(o) +1 (603) 374-7120

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net


Re: [PyMOL] Use arrows to switch between models

2012-09-20 Thread Tsjerk Wassenaar
Hi :)

You can also add

cmd.disable('all')
cmd.enable(cur_obj)

To have all other objects turned off. This is one I'm definitely going to use :)

Cheers,

Tsjerk

On Thu, Sep 20, 2012 at 6:32 PM, Jason Vertrees
jason.vertr...@schrodinger.com wrote:
 Hi Martin,

 Is it possible to somehow assign page up or page down keys to switch
 from one loaded model to the next one in the PyMOL models list?
 This would be useful because I often have several similar models listed
 and in doing so it would be easier and convenient to identify changes
 within them.

 How about something like http://pymolwiki.org/index.php/ObjectFocus.
 It's cool what you can do with PyMOL and 8 minutes of coding.

 Two changes to the script you might want:
   * replace 'orient' with 'zoom'
   * don't animate the change, remote ',animate=1' from the orient command.

 Cheers,

 -- Jason

 --
 Jason Vertrees, PhD
 PyMOL Product Manager
 Schrödinger, Inc.

 (e) jason.vertr...@schrodinger.com
 (o) +1 (603) 374-7120

 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://ad.doubleclick.net/clk;258768047;13503038;j?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
 Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
 Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net



-- 
Tsjerk A. Wassenaar, Ph.D.

post-doctoral researcher
Molecular Dynamics Group
* Groningen Institute for Biomolecular Research and Biotechnology
* Zernike Institute for Advanced Materials
University of Groningen
The Netherlands

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net