This is a read-only mirror of pymolwiki.org
Difference between revisions of "Get Position"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
[[Get_Position]] gets the 3D coordinates of the center of the viewer window.. | [[Get_Position]] gets the 3D coordinates of the center of the viewer window.. | ||
| − | |||
| − | |||
== Syntax == | == Syntax == | ||
Revision as of 15:18, 21 July 2010
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()