Window Range

How do you determine the dimension range of all graphic entities so that they all fit onto the screen. I would like to start off with a view from 1,1,1 looking towards the global origin.