Oops, sorry I didn't give a link.
I dug around a bit and I found this thread where he writes up a snippet of code that will import x,y,z data from a CSV file. So you would just want the beginnings that shows how to read the file into SketchUp. And then you would need to figure out a way to assign properties to components and such inside your model.
http://forums.sketchucation.com/viewtopic.php?f=323&t=28904
Sorry I am not much help here right now. His code is good, but it's not everything you need. So it will require some more work to get it to even begin to do what you want.