Re: [PyMOL] center at x,y,z

2006-09-22 Thread Joel Bard
actually should probably be v[12:15] = float(x), float(y), float(z) since args given at the pymol command line are strings... >>> "Joel Bard" 9/21/2006 11:47:51 AM >>> It's a bit ugly but you can do get_view and then change the values of elements 12-14 to be the coordinates you want to center o

Re: [PyMOL] center at x,y,z

2006-09-21 Thread Joel Bard
It's a bit ugly but you can do get_view and then change the values of elements 12-14 to be the coordinates you want to center on and paste the result into a set_view command. This could be done easily enough in a little python script: def centCoords( x,y,z): v = list( cmd.get_view() ) #conv

Re: [PyMOL] center at x,y,z

2006-09-21 Thread Ramesh Sistla
On 9/18/06, Björn Kauppi wrote: Hi all, How do I center at a specific coordinate? Can not find any obvious way, by searching the web and manuals. middle clicking on an atom given at those coordinates should work. Isn't that what you want? HTH Ramesh

[PyMOL] center at x,y,z

2006-09-18 Thread Björn Kauppi
Hi all, How do I center at a specific coordinate? Can not find any obvious way, by searching the web and manuals. --Björn *** This e-mail may contain confidential information proprietary to Karo Bio AB and is meant for the