I'm looking for a way to merge same materials. I have archviz projects and I'm importing stuff from 3ds max. Problem is that materials are mess. After Import hundreds of objects to blender I got thousands of materials, but problem is that they are copy of themselves and it looks like that:
ANYNAME.001 ANYNAME.002 ANYNAME.003 .... ANYNAME.099
And I want to make sth like - Check object name if its the same but only difference in name is this .001 .002 etc change every copy of material for every object with material that is .001
This is problem 1, problem 2 is:
I have material called Metal_black, and I have this ANYNAME.001 - is there a way to change material to every object that have ANYNAME.001 to Metal_black (I mean without copying material nodes into ANYNAME.001 but changing every ANYNAME.001 to Metal_black).
Is there plugin or is here a good soul who could help me with that, .py script would really help.