Get_Position gets the 3D coordinates of the center of the viewer window..
# print the coordinates for center of mass zoom print cmd.get_position()