Dig around this forum also. I think someone recently detailed in the developers forum how they got an xml writer hooked up through ruby so they can write xml files easily.
đź’ˇ LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
H