About this site
ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
Comments
Im sorry... the thing just
Im sorry... the thing just posted it 10x lol sorrryyy....
.
list all material
as always there's an answer for almost any maxscript related question posted on cgtalk
It works WOHOOO!!!! XXXXX
It works WOHOOO!!!! XXXXX
Ok it partially works, it did
Ok it partially works, it did not list any materials from loaded libraries :c
Any idea how to fetch them?
.
check mxs reference for loadTempMaterialLibrary
I guess you'll have to iterate over library materials to join them to the list
Not sure how can you get all the loaded libraries in SME, but I found that they're listed here:
C:\Users\User\AppData\Local\Autodesk\3dsmax\2014 - 64bit\ENU\en-US\defaults\MAX\MtlBrowser.mpl
it is a simple xml config file
unfortunately it doesn't update right after user loads another library, so you'll have to find a workaround
hope it helps