I’m creating a ruby to select the active material in SketchUp and replace it with another automatically when clicking on the new material.
What I want to do is replace this material also selects in the proxy, that is, if material A in the proxy is selected and I choose material B, this material also changes in the proxy.
I really appreciate everyone’s help.
PS: I couldn’t add my code
Replacing one sketchup material with another is more of a SketchUp ruby api issue than a V-Ray one. I don’t quite understand what you’re after in regards to proxies but if you disable the proxy materials (see bottom of image) the proxy will revert to using whatever sketchup material is applied to the component, allowing you to use the SketchUp ruby api without having to worry about the V-Ray one. You can find more info about the SketchUp ruby API at Class: Sketchup::Materials — SketchUp Ruby API Documentation
I am also getting the forum post error you reported. I’ll report it.