Get Position: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
(Undo revision 8370 by Julieta (Talk))
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Overview ==
[[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..


Line 9: Line 8:
</source>
</source>


[[Category:Commands|get_position]]
[[Category:Commands|Get Position]]

Latest revision as of 10: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()