MEL to change multiple shaders Subsurface Settings from V1 to V2
I am doing some work involving importing Speed Tree Trees into maya. When imported they are all Arnold two sided shaders with Standard Surface plugged into each input and they are all set to Randomwalk 1 (subsurfaceType 1) when i need all of them to be RandomwalkV2 (subsurfaceType" 2) . I am trying to find an easy way to convert them without having to select each two sided shader then selecting each input and changing each and every one. I figured mel would be the best and quickest bet....but the downside is, don't know mel at all...... there's over 30 trees and 40 shaders per tree....if anyone can help id be really grateful.
Link copied