Simplify Vray and Corona Material


Hi, I am very new to maxscript and I want to simplify vray and corona materials with maxscript.

I want to connect each and every map directly to its corresponding socket. Please check the attached example below to get a cUploading… lear Idea.

If anyone can help I will be very grateful as I want to do this on 100s of materials.