Difference between revisions of "Get Position"

From PyMOLWiki
Jump to navigation Jump to search
(New page: == Overview == Get_Position gets the 3D coordinates of the center of the viewer window.. == Syntax == <source lang="python"> # print the coordinates for center of mass zoom print cmd....)
 
Line 9: Line 9:
 
</source>
 
</source>
  
[[:Category:Commands|Get_Position]]
+
[[Category:Commands|Get_Position]]

Revision as of 15:12, 20 October 2008

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