Ola, Let's say i have a multimaterial, with standard submaterials in it, with a diffuse texture in each of the submaterial. In the material editor, my current slot is on a diffuse bitmap node. I want to access the parent standard material from here. Not the root multimaterial. (Purpose is to rename the standard material as…
I think your method is sound. The only problem that may develop is that if you have your texture plugged into several materials you'll need to figure out which one to rename. Personally I would select the multimaterial node and recurse the materials.