Get Position: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
mNo edit summary
(Undo revision 8370 by Julieta (Talk))
 
(2 intermediate revisions by 2 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..



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