Jump to content

Mass Change All Materials' Map Channel???


Tim in Hollywood
 Share

Recommended Posts

Hi all,

 

Is there a way to change the "Map Channel" in ALL scene materials? I have to change the map channel for every material in a scene from 3 to 1. Because I have dozens of materials and dozens of files, this would be painstaking to do manually.

 

Seems that a script for this may already exist. If it does, I have been unable to find it.

 

Any help will be appreciated!

 

Thanks,

Tim

Link to comment
Share on other sites

Create a new MaxScript and paste the following and run the script:

 

for obj in geometry do

(

obj.modifiers[#unwrap_uvw].unwrap.setMapChannel 1

)

 

Probably not the most efficient script, but it should work.

 

 

Edit: Sorry, read your post wrong and didn't realize that you wanted to change the Material's Map Channel, and not your Objects, I'll work on that script now and update when I get it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...