How can one search by name for a material / texture / image datablock that is not displayed in the outliner, for example because it's buried somewhere deep inside a node tree?
Let me please describe some typical use cases to make more clear what I'm talking about:
- When a material / texture / image datablock is 'buried' in the node tree, not displayed in the outliner, and you have a lot of materials with complex node trees, you often have a hard time finding one by name.
- For me, the most common use case is to find if seemingly-orphaned datablocks (mostly named xxx.001 etc.) are still in use somewhere: There are often some datablocks which stay orphaned in the blendfile because the user count has not been set to zero correctly, and the more complex the shaders, the more likely this is. You can shift-delete them, but you have to make 100% sure that they are not in use anywhere.
- Besides this, it is often necessary for complex materials, especially when you have been linking/appending and copy-pasting parts of the node tree from other files. If the appended part uses, for instance, a texture with a name that is also used in your destination blend file, you may have to check if the textures are identical, and therefore find the other one.
Once saw an addon which did similar stuff, but not exactly this. Don't remember which, unfortunately.
Any ideas how we can make our lives easier keeping our blend files clean?
Best greetings, Michael