That sounds like a job for a plugin although I'm not positive that it could be done. You might want to post your question in the Plugins forum instead.
💡 LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
T