From: Michael George Lerner <mlerner@um...> - 2006-01-06 21:50:55
Longshot, but ..
I'm looking at a structure under two different sets of conditions, so I
have two PyMOL windows open. I'm constantly get_view and set_view[*] to
synchronize the two windows. Is there some way to set things up so that I
can drag things around in one window and have the scene in the other
window automatically follow along?
[*] actually, I'm a bit lazier than that .. I now have this run via my
VIEW_FILENAME = '/tmp/currentview.txt'
'''write current view to a file (default /tmp/currentview.txt)'''
# '...%s...'%VIEW_FILENAME doesn't end up as gv.__doc__
f = file(VIEW_FILENAME,'w')
'''read current view from a file (default /tmp/currentview.txt)'''
# '...%s...'%VIEW_FILENAME doesn't end up as sv.__doc__
f = file(VIEW_FILENAME)
so I can type 'gv' in one window and 'sv' in the other.
http://www.umich.edu/~mlerner | _ |Michael Lerner
This isn't a democracy;| ASCII ribbon campaign ( ) | Michigan
it's a cheer-ocracy. | - against HTML email X | Biophysics
-Torrence, Bring It On| / \ | mlerner@...