Adding Regular Expression or random number to Custom Material name in Slate?

Adding Regular Expression or random number to Custom Material name in Slate?

torquemod
Advocate Advocate
207 Views
0 Replies
Message 1 of 1

Adding Regular Expression or random number to Custom Material name in Slate?

torquemod
Advocate
Advocate

Hey there,

I'm trying to save a material node setup to a custom library. That part is easy, but when I drag in a copy of the material from my library, they all use the same name. I was hoping to automatically generate a two-digit number and append it to the material name so that every time I add it to slate it gives each one a unique name. Is this even possible? I tried to use a regex but it didn't seem to work. I named my material PBR Basic [0-9]{2}

Is there some way I can make sure each material I add is given a unique name, or do I have to name them manually?

 

Thanks!

 

CustomMaterialNode.png   

 

0 Likes
208 Views
0 Replies
Replies (0)