Search Materials And Maps

10 votes
Date Updated: 
Author Name: 
Jonathan Baecker



The script is also dockable and it has now a right click menu:


This MaxScript collecting all materials, maps and texture, it also allow to search materials, maps or textures by name. You can modify the texture path, also for multiple selections, and you can copy the selection to the material editor.

In version 1.0 I change the listview to dotnet, the background color change now depend on the type.

In version 1.2 I remove the process-bar, because I think it make no sence, by a test the scripts list 1000 Materials with one sub map in less the two seconds... Now without this the gui is more clear. I also fix some small bugs and work on the usability.

In version 1.3 the script have now also a drag and drop function, that means that you can drag materials from the list to a object. From list to material editor doesn't work at the moment (when someone have a idea how to realize that please let it me know.) I also optimize the code  bit more and now theoreticle all materials, shaders and map will work, also no standard ones from other render engines.

In version 1.5 I remove arrays and work more with dotnet values, I cleanup the code more, add progressbar, speedup texture sort function and I work on change multiple textures path (maybe not finish).

Version 1.6 sort now faster the list when it shows only the textures. And I add the slotname to the tooltip.

I hope you found it useful, feel free to post commends, tips, bugs and wishes.


When you download it from the github link, you always get the newest version.


Have a nice time!

Version Requirement: 
3ds Max 2013 and above
searchmaterialandmaps.zip17.61 KB


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
1rv's picture

Refuses to work with this

Refuses to work with this message:

--Runtime error: subTexmap index out of range: < 1 or > :1


vidivini500's picture


Error in max 2014

thatmakes1's picture

With the MOTOR TREND Used

With the MOTOR TREND Used Cars program, two of the biggest automotive brands, MOTOR TREND and EasyCare, guarantee that you will drive away from the dealership confident - and stay confident - in your used cars. MOTOR TREND Certified Vehicles is the first certified vehicle program to be specifically developed to deliver a superior consumer experience from purchase through ownership.

John Crew

jb_alvarado's picture

Thank you for replays!

@ pepelepeu, I think this is a bit to much, and I ask me also: is it really useful? When you want it, I think you can implement it, is not so complicate. And when you have questions I can help you. A easy way is, when you fork the project on github, then I can help better.

@ zahidhasan, the idea with the font is good, but I think is not so easy to implement. For this you need dotNet, And I have no plan for that. Maybe I come in to learn more about it. But I can not guarantee this.

@ titane357, I don't have the octan render. But when you give me a exact error message, then I can try to fix that.

titane357's picture

hello, it would be great to

hello, it would be great to expand your tool to other renderers ( would like Octane ). Thanks :-)

zahidhasan's picture

nicely done.i think it

nicely done.i think it developed very quickly into a powerful script.i started working a wishlist.the slot names in separate column would be a bit much.

do you think the slot names might a better in a lighter tone of grey or italic.
double clicking a texture name should send it to active slot.

pepelepeu's picture

very interesting. I'm just

very interesting.

I'm just thinking...maybe it could be useful to have a button to export to an xml file to use in excel.
This way you can use all the functionalities that excel provides to sort and stuff.

jb_alvarado's picture

Texture Slot Name

Ok, now I found a way to get the name from the texture slot. But I am not sure witch is a useful place for that. Alone in a line is to much I think. And after the texture name maybe is a bit bad.



What are you thinking?

jb_alvarado's picture

optimize the search command and add a sort function for the text

Thank artkitekt,
I change to the matchPattern function! I am very new in maxscript, so I glad for all tips and tricks! I also found little bugs and dead code, and I also add a sort command for the texture list. But I think it works not 100%

artkitekt's picture

JB, This is very useful and

JB, This is very useful and the interface is well designed. Maybe look into the function 'matchPattern' to make the search functionality less prejudice? Other than that, keep up the good work!

Andru Phoenix
ATK Developer

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.