@TIG has provided you with a good solution for your problem, but maybe you’ll be interested in a SketchUp Extension I made called CompoScene.
Color by Layer is one of many rendering options you can quickly make with CompoScene… Check my topic in the following link: