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 ]]
cmd.get_extent(string selection="(all)", state=0 )
Category: Commands