Difference between revisions of "Get Extent"

From PyMOLWiki
Jump to navigation Jump to search
Line 9: Line 9:
  
 
[[Category:Commands|get_extent]]
 
[[Category:Commands|get_extent]]
 +
[[Category:States]]

Revision as of 09:07, 19 January 2009

DESCRIPTION

get_extent returns the minimum and maximum XYZ coordinates of a selection as an array:

[ [ min-X , min-Y , min-Z ],[ max-X, max-Y , max-Z ]]

PYMOL API

cmd.get_extent(string selection="(all)", state=0 )