@mzarja said:

Hello!
I need an advice. I'm creating a house visualisation in SketchUp Pro. I have various components (furniture) and I need to set one colour to all of them. Is there any way of doing that without changing colour to each and every component manually, like not colouring all component faces separately?
Thanks in advance!

This one-liner will color ALL component instances RED.

Sketchup.active_model.definitions.each{|cd| next if (cd.group?||cd.image?);cd.instances.each{|e| e.material='red'}}