Get Position: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
</source>
</source>


[[Category:Commands|Get_Position]]
[[Category:Commands|get_position]]

Revision as of 16:50, 10 March 2009

Overview

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()