This is a read-only mirror of pymolwiki.org

Get Position

From PyMOL Wiki
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()