This is a read-only mirror of pymolwiki.org

Get Position

From PyMOL Wiki
Revision as of 15:18, 21 July 2010 by Speleo3 (talk | contribs) (Undo revision 8370 by Julieta (Talk))
Jump to navigation Jump to search

Get_Position gets the 3D coordinates of the center of the viewer window..

Syntax

# print the coordinates for center of mass
zoom
print cmd.get_position()