This is a read-only mirror of pymolwiki.org

Difference between revisions of "Get Position"

From PyMOL Wiki
Jump to navigation Jump to search
 
m
Line 9: Line 9:
 
</source>
 
</source>
  
[[Category:Commands|get_position]]
+
[[Category:Commands|Get Position]]

Revision as of 14:03, 20 June 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()