This is a read-only mirror of pymolwiki.org

Get Extent

From PyMOL Wiki
Revision as of 05:59, 21 February 2005 by Tree (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 )