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() ) #convert to list 'cause can't assign to sequence from get_view
   vl[12:15] = x,y,z              #remember that slices don't include 2nd index!
   cmd.set_view( v )
cmd.extend( "centCoords", centCoords )  #add centCoords to the set of pymol commands
Maybe there's an easier way but I think this works.

>>>  Björn Kauppi  <> 9/18/2006 4:46:10 AM >>>
Hi all,

How do I center at a specific coordinate? Can not find any obvious way, by searching the web and manuals.


This e-mail may contain confidential information proprietary to Karo Bio AB
and is meant for the intended addressee(s) only. Any unauthorized review,
use, disclosure or distribution is prohibited. If you have received this
message in error, please advise the sender and delete the e-mail and any
attachments from your files. Thank you!

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
PyMOL-users mailing list