Export multiple section slices at once to x ref'd cad files?

Just playing with the Idea of Xrefing a bunch of section slices saved as .DWG files into a master autocad drawing. Is it possible to create a ruby script that would export all sections as .DWG files and save to the same file name as last used? If the file names stay the same on export it would be really simple to link a 3d sketchup model to a 2d autocad drawing. Also the views I think would have to be set up in scenes to keep the correct view orientation. This is probably way to complicated but figured I’d put it out there…