Script request- Vray material options rollout/ glossy rays
first of all thanks for the great content on this site and thanks to the people contributing. I am new here, and have zero scripting experience... but would it be ok to ask for a (hopefully simple) script?
When dealing with reflective/glossy materials or when I use the Vray lens effect, I get weird artefacts on my renders (I use 3dsMax 2017 and Vray 3.4). The only solution that solved this issue completely was to change for each vray material the option 'treat glossy rays as GI rays' to 'Always', in the 'options' rollout of Vray materials (the default is always set to 'only for GI rays'). In a scene with many materials, this can become quite a time-consuming job.
This is why I would like to ask for a script that can do this automatically (for all Vray materials in the scene, to automatically change the 'treat glossy rays as GI rays' option from 'only for GI rays' to 'Always'). Since I have no programming/scripting knowledge, I have no idea if that is even possible; but I thought to give it a try. Any help would be much appreciated :)