Request for Script to Show Realistic Materials in ViewPort in Multiple Vray selected nodes

Hello Guys.
When you apply the script to convert the scene to Vray, all materials in the screen become grey.
Looking for someone can develop the script for the material slate mode.
I can't assign the check box to a multiple selected Vray material nodes for "Show Realistic Materials in View Port" because is not present.