Thank you for the ideas. As I unfortunetely suspected it seems it cannot be done using sketchup since it's a surface modeler. My hopes were that you could somehow use groups to define blocks and then turn them in to solids, i.e from consisting of faces and lines to homogenous blocks using for example a plugin. It shouldn't be to hard since the bounding box of the geometry gives the coordinates for the block but i'm not very good at programming so I will have to try something else. Thank you again for your help.
Best regards
Mattias