Python scripts for Subdivision and Texture Input Gamma in Vray for Maya

The first Python script  will apply a Texture Input Gamma from Vray Attributes on selected File nodes.

The second script applies Subdivision from Vray Attributes on selected Shape nodes. The script automatically converts a selected transform node into a shape node, which means that you can select the objects you want to subdivide in the viewport. I also set the script to not Override Global Values in order for you to set the values you want in the Default Displacement and Subdivision tab, instead of typing them in on every object after you flagged the object for Subdivision.