MatShift
MatShift is a thin pack of ops for shifting materials
between Scene, Material Editor slots and current Library.
Combined them with existing Max's built-in ops into MEditor and MBrowser are enough for this kind of tasks. Even "Reset Material Editor Slots" exist into MEditor > Utilities. It slightly change materials names to "Standard_1" and so on. With my ops I restore also materials names like "01 - Default" ... that I prefer. Enjoy the script as is or feel free to modify it.
[-] the script tested on 3ds Max 2009
[-] if you prefer to install the script as macros -
just read 1st comment line inside the code
Update:
v.1.1 added "Scene Selected > MEditor" button that put materials from selected objects to MEditor, starting from current active slot.
Attachment | Size |
---|---|
MatShift.ms | 2.47 KB |
MatShift_11.ms | 3.28 KB |
Comments
yep, their is a script for that purpose
i done such script a time ago named Update Scene Materials
and you can get it from my web site: http://project3d.narod.ru
my recent MAXScripts RSS (archive here)
Where is the .MAT > Scene?
Actually, this is the only thing I was looking for. There is Scene > .MAT, but not the other way around.
I know there's a button for doing this, in the material/map browser, but I'd like to have that button more at hand. Also, I'd like to use the maxscript code in my own scripts.
So, is this not done?
Max version?
What is your Max version? I made this one for Max 2009 and it still works fine. If you use more recent Max then probably someone else could helps to you.
my recent MAXScripts RSS (archive here)
i could not get the
save material editor to current library feature, it does not add the stuff from mat editor to the mat file that is currently open.
neither it errors nor saves a file, the mats does not show up inside current library either...
Script updated. There is the
Script updated. There is the scratch idea:
my recent MAXScripts RSS (archive here)