Materials to layers

posted in: Blog | 3

Hi guys and gals, long time no see! Been busy with things but I havent forgot that this is the place to share some free stuff! Well this still isn’t that WOW post I had in mind but I bet it will be of use to some of you, I know it has been for me!

This script allows you to load a material library and apply one material to all the objects in a specific layer! I have this script written for a some time so it’s methods are not the most up-to-date techniques but I think you can still learn something from the code, if you are a Maxscript newbie. I’ve strictly used .NET forms and controls to do this GUI, so you can try to learn some of it, also how to add event handlers on buttons and such. When I wrote this I tried to comment the code so it could be readable so I hope that helps out too. Big thanks to Bobo for the rendering material snippet code.




3 Responses

  1. Sanjeev Kumar
    | Reply

    this is for max!!!

  2. Ronald
    | Reply

    Thank you, this is very helpful. I’ll take a look to that code 🙂

  3. Fernando Pinto
    | Reply

    Thank you for sharing! Muito obrigado 😉

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.