Tim in Hollywood Posted June 30, 2010 Share Posted June 30, 2010 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 More sharing options...
NoisyMonk Posted June 30, 2010 Share Posted June 30, 2010 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 More sharing options...
-MerlyN- Posted June 30, 2010 Share Posted June 30, 2010 Only that this changes the objects, not the materials, no? Link to comment Share on other sites More sharing options...
NoisyMonk Posted June 30, 2010 Share Posted June 30, 2010 Yeah, noticed that just after I posted. Working on fixing it, but I'm having trouble finding the Map Channel property in the Materials. I'm a pretty novice scripter, so it may take me a while. >_ Link to comment Share on other sites More sharing options...
-MerlyN- Posted June 30, 2010 Share Posted June 30, 2010 well, once you've found it, let me know. I need a script, that lets me change the crop values of bitmaps in a multi-sub-material... Link to comment Share on other sites More sharing options...
Tim in Hollywood Posted July 2, 2010 Author Share Posted July 2, 2010 Hi, Thank you for your efforts with this. We have found a solution to solve the original problem. - Tim Link to comment Share on other sites More sharing options...
cgrant3d Posted July 3, 2010 Share Posted July 3, 2010 In case anyone finds this via search the solution is here - http://www.scriptspot.com/forums/3ds-max/scripts-wanted/uvw-map-channel-script-needed Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now