Difference between revisions of "Get Extent"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
===DESCRIPTION=== | ===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=== | ===PYMOL API=== | ||
− | + | <source lang="python"> | |
− | + | cmd.get_extent(string selection="(all)", state=0 ) | |
− | + | </source> | |
[[Category:Commands|get_extent]] | [[Category:Commands|get_extent]] |
Revision as of 15:43, 8 July 2005
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 )