Jump to content

Assign Materials Automatically By Layer


apexmotion
 Share

Recommended Posts

Hi,

 

I tried to make a script that looks at the layer name eg: "CHROME_CHAIRLEGS" and will automatically assign the Chrome material to all the objects in the layer.

 

For some reason, some of my materials disappear from the scene when I run a script I tried to write. Does someone have a script already written that does something similar to automatically assign materials based on layer name?

 

Thanks for your time.

 

Rob

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...