Hello, I've been searching and didn't found something doing this, maybe some of you know if this exist or how it can be done.
All faces on all selected objects (these objects are using different multimaterials) pointing to the material named "Grass" before the script (id 2 5 and 1 in the exemple) are, after the script, assigned to id 30, and all the objects are using a single multimaterial.
I have a scene organized like this :
Id - name - Sub-Material
[Multimaterial A]
[1] [ ] [Dirt]
[2] [ ] [Grass]
...
[12] [ ] [Rock]
[Multimaterial B]
[1] [ ] [Dirt]