Jump to content

Get Position: Difference between revisions

From PyMOL Wiki
No edit summary
Undo revision 8370 by Julieta (Talk)
 
(One intermediate revision by one other user not shown)
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..



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