VrayMat Show shaded material in ViewPort

Hello.
can you guys help me with one script that can make the option of "Show Shaded Material in View-Port" for a selection VrayMat's?

Now I have to do it one by one manually after the standard materials had been converted.
Thanks.

AttachmentSize
2015-04-16_14-46-09.jpg65.56 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
bisara230's picture

None of them work

Thanks, but I already checked those and none of them worked with vray.
My situation is more related with the slated material window and Vray (3.10).
Every time that I apply the vray convert material,even if the original material had the option on,the new vray doesn't and can't do it with multiple selections, only individually.
I work in retail visualization, I have projects with 200 products that need to be relocated and the only graphic reference is the map in the viewport.
Thanks again for your time.

AlexBo's picture

For all scene VrayMtl try

For all scene VrayMtl try this work (for selected object try to find this kind of loop in another scriept that use list selection):

for o in getclassinstances VRayMtl do o.showInViewport = true

AlexBo

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.