Straight forward script to load a directory of your choice or by recursively going through a single directory (be careful it doesn't go through too many as this will be slow to load) and loading up .mat files.
From here the script will apply Materials only (no maps) to teapots.
I use this to quickly populate the scene with all materials inside a .mat file to tweak and update it quicker.
See screenshot.
Can be found under the category: 3dwannab
Open script and change:
local intialMLPath = "F:\SS_3diT\Textures & Materials\Corona"
to your own user library of your choice.
CHG LOG:
v1.0 - 2016.01.25 - Initial Release
v1.1 - 2016.03.17 - Fix bug if intial path not found


Comments (7)
Comment policy
Very helpful, thank you.
I'm changing my material library from storing multiple materials in a .mat file to store only one(Connecter). Your script saved a lot of time, and I also learned from it.(maxscript beginner)
Thank you.
No problem..
glad you learned something from it.
No working to 3dsmax 2019
Hi! No working to 3dsmax 2019
Attachments
Open script and change:
local intialMLPath = "F:\SS_3diT\Textures & Materials\Corona"
to your own user library of your choice.
Thank you!
Sorry! now see.
change patch:
Ver.1.1 - it still won't start, refers to line 29
Ver.1 - working
It's blocked out in the script. You must remove the two hyphens at the start of the line.
to
!! Make sure you place two
at each directory change.
Thank you, helped you understand something in the materials.