Colouring components
-
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! -
@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'}}
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better đź’—
Register LoginAdvertisement