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....)
 
(Undo revision 8370 by Julieta (Talk))
 
(5 intermediate revisions by 4 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 11: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()