ScriptSpot

Script

MatShift

By Anubis · 2009-07-30

Version
1.1
Version requirement
3ds Max 2009
Date updated
2009-08-02
Votes
22
Description

MatShift is a thin pack of ops for shifting materials
between Scene, Material Editor slots and current Library.

Additional Info

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.
Attachments

Tags: Material Editor, Library, materials, Scene Materials, save .mat

Comments (5)

Where is the .MAT > Scene?

kraj0t · 2012-03-16

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?

yep, their is a script for that purpose

Anubis · 2012-03-21

i done such script a time ago named Update Scene Materials
and you can get it from my web site: http://project3d.narod.ru

Max version?

Anubis · 2012-03-03

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.

i could not get the

crystal3d · 2012-03-02

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...

Anubis · 2009-08-02

Script updated. There is the scratch idea:

Attachments