An Add-on that I wrote 2 years ago and finally decided to get back to it and try to make it accepted into Blender.
Above link redirects you to Beta version of newer version of my Add-on. I almost completely rewrote the whole code and added a few tweaks. More information about this Add-on in my old post below.
Search input - put there fraze You are looking for
Results - displaying found results
Open automatically - if disabled clicking on result will just put file name in file browser (you need to click “open”, to actually open it), if enabled it automatically opens/uses the file after you click item in Results Box
Hide Extensions - hides extensions
Number of Columns - allows You to chose number of columns in wchich Your results will be displayed.
Hope someone will find it useful. If You have any suggestions how to improve this AddOn’s functionality then feel free to say so
IMPORTANT: I haven’t fully tested it yet. It may contain some bugs.
UPDATE:
Added “Subdirectory Search” option: searches in currently opened folder and it’s subdirectories.
UPDATE:
Now searching through materials, objects, etc. when linking or appending is also possible.
UPDATE:
Added NodeGroup search support. If something else there (when linking) isn’t working please notice me.
UPDATE:
Using * like in windows regular expressions works now, i.e. “.blend", "my.jpg”
UPDATE:
Added icons.
Added search for directories options.
You can now look for files even when appending or linking blend data. Though clicking file (with “Open on Click” option) will result in opening files directory in File Browser.
A few minor tweaks that should improve functionality.
UPDATE:
File Browser filters are applied to search results
UPDATE:
Blender 2.72 compatibility (previous version used with 2.72 would crash when appending data from .blend files).
But if You think searching through folder tree might be useful I think adding that option won’t be a problem (when I will find a few free minutes of my life )
(To be sure, You mean:
You are in: Dir1, and search for: file1.ext
and it should find it for example in: Dir1\Dir2\file1.ext
? - or You have something else in mind?)
Good work!
I think that it is a great addon.
I test if these addon work in other situation, in a append context, and it not working when append a object or other thing… it is planed to filter in other situations, for example when append a object from another blender file?
Thanks. To make this plugin working in link_append context is a great idea. Unfortunately I tried to find in Blender API how to read data from external .blend file and it seems impossible for now (or what is also possible I searched wrong). It probably could be done by implementing c-function from blender source or writing python .blend file parser. I will try to look into it.
If anyone knows a simpler way to do this and will share it with me I will implement it right away
By pure accident I found how to enable this plugin in link_append mode. I took a few free moments of my time and updated the script.
For now “tree-search” in link_append mode is not possible, cause I’m affraid it might be more confusing than useful but if anyone think it might be a helpful function I’m willing to make that change.
I realized that some time ago (a few months…) I made a small update to this add-on that prevents this addon settings from being reseted (is that a word?) when closing blender. Uploaded a new version if anyone is interested.
Just added NodeGroup support Please download again.
If there is something else that isn’t linking please notice me about that (there reason is not that it can’t I just probably made a mistake somewhere or it wasn’t supported year ago when I was making this script).
Thanks a lot, very useful and time saving addon. Works fine in 2.67a
A suggestion for some improvement came in my mind when I got plenty of cache files in the results list:
Would be nice to be able to filter results to blend files or texture files.
Also, could be useful to allow to search by extention type like *.blend for example.