ScriptSpot

Forum topic · Scripts Wanted

VrayMat Show shaded material in ViewPort

By bisara230 · 2015-04-16

Description

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.

Attachments
Comments (3)

None of them work

bisara230 · 2015-04-24

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 · 2015-10-19

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