This is a read-only mirror of pymolwiki.org
Difference between revisions of "Get Position"
Jump to navigation
Jump to search
m (7 revisions) |
|||
(4 intermediate revisions by 3 users 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.. | ||
Line 9: | Line 8: | ||
</source> | </source> | ||
− | [[Category:Commands| | + | [[Category:Commands|Get Position]] |
Latest revision as of 01:46, 28 March 2014
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()