I want to replace all materials that share the same name with a single (selected) material instance. Not only the directly assigned materials but also nested materials residing in for instance; multi/sub-materials and corona layered materials and shellack and material blend material.
The workflow would be:
1) select a material in the slate material editor to use as instanced replacement.
2) run script, this will replace all materials that have the same name as the selected material in the slate material editor (including nested material).
I have searched for quite a while and found multiple material consolidation scripts, but they do not work as intended.
Replies