Remove color using ruby
-
how to remove the material (color) from object using ruby?
-
[%(#BF0000)[Drawingelement.material]](http://code.google.com/apis/sketchup/docs/ourdoc/drawingelement.html#material) = nilFor example:
face = Sketchup.active_model.selection[0] face.material = nil face.back_material = nil( Side note: If you wanted to remove only the color from a texture (when a texture is colorized), it seems not to work with material.color = nil, but turns it black )
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