ScriptSpot home

Get Materials (one click!)

Downloads

3ds Max compatibility
See original listing claims
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
1.03
From original requirements
2012 or newer
Original version requirement
3ds Max 2012 and higher
Author’s update date
Legacy votes
6
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

rode3d

Hernan Rodenstein

More by this author

A very simple but EXTREMLY USEFUL script you will use all the time!

With just one click it opens the Slate Material Editor and displays all the materials for the selected objects well organized in a clean view.

Forget about the annoying material picker tool. Add this simple button to your toolbar and every time you want to see the material/s for your current selected object/s just click the button and... Voila!

It will save you a lot of time!

INSTALLATION: Just drag the script to any viewport, go to Customize -> Customize User Interface -> Toolbars tab -> choose Spline Dynamics - free scripts category. Drag "GetMaterials" to your top toolbar. Ready to use!

Note: This is a free and open script. You may use it or modify it as you like. I provide no support or warranty for it. Use it at your own risk.
I hope you enjoy it!

Setup & notes

It comes in 3 versions:

GetMaterials.ms: opens the Slate Material Editor, cleaning the default view.

GetMaterials_newView.ms: opens the Slate Material Editor in a new view.

GetMaterials_CompactMatEditor.ms: opens the Compact (Classic) Material Editor, overwriting the first slots.

The latest versions of these scripts will be always available at this page under the name 'Get Materials (one click!)'.

Comments (21)
Hernan Rodenstein

Updated!

Now it works properly for all 3dsMax versions!
Cheers!

d1myan

Error in 3dsmax 2021

Error on 3ds max 2021. It worked fine on 3ds max 2019
if the View 1 tab already exists, it cannot delete it, and 3ds max exits with an error
Is there any way to fix this? A very convenient scenario was

Nicolas

It doesn't work

Script doesn't work on 3ds Max 2020, nothing is happening. I tested the two versions on two different computers. And I can't add it to my toolbar. Strange.

Reply to Nicolas
Hernan Rodenstein

The script was succesfully tested on Max 2020 and 2021

What do you mean you can't add it to your toolbar?
That's very strange. It looks like a 3dsMax temporary error, not a script error.
Did you have this behaviour with other scripts too in the past?

It's ok! The script works now! I've just reinstall 3ds Max 2020 and everything is ok. Sorry for my comment!

It's ok! The script works now! I've just reinstall 3ds Max 2020 and everything is ok. Sorry for my comment!

Donatas Kalendauskas

Edit Create just one temporary view

If someone wants to keep all existing views, and don't want to create a bunch of new views here is edited version below. It creates one new temporary view called "TEMP" each time you use a script, but keeps all costume created views.

macroScript GetMaterials
category:"Spline Dynamics - free scripts"
tooltip:"Get materials"
buttontext:"GetMats"

(
-- *** Opens the Material Editor and shows just the materials for the selected objects ***
if (selection.count > 0) then
(
sme.Open()
--DELETE AND CREATE A NEW VIEW
--sme.DeleteView 1 false
sme.DeleteView (sme.GetViewByName "TEMP") false
NewView = sme.GetView(sme.CreateView "TEMP")
--POPULATE THE VIEW
for obj in selection do
(
NewView.CreateNode obj.material[0,0]
)
--ARRANGE THE VIEW
actionMan.executeAction 369891408 "40060"
)
else
(
messagebox "You must have at least one object selected!"
)
)

amit shneor

make slate thumbnails big as a default, or on hotkey

that script change my life ! its great !
now i have a question if someone knows :
is there a way , a preference or a maxscript , to make the nodes in the slate matrial editor be big and not small and as a default for new creations...?

i know of the double click and the preview window, i mean all the nodes in the view...

Thanks in advanced !

Calin Ignat

3ds max 2020

Cheers. Working and pretty useful.

Hernan Rodenstein

New update

Just added a new version of the script that shows the materials always in a new view into the Material Editor.
Both work in 3dsmax versions 2012 and higher.

Nguyễn Anh Dũng

Update 2016

Plesae Update version 3dsmax 2016!!! Thanks you very muck

dmitrybelonosov

Good idea! Thank you!

Maxim

Thank you!
Script looks useful, but it cleans all my opened views of Mat editor every time I use it. Would be great if materials of selected objects will be displayed in a new view and all existing views will be kept as they are.

Kwangsub SHIN

This is cool~

Thank you Hernan~
I used to search for like this function.
It would be help so much for me.
And could I use it with after create icon that name of "rode3d" ?
As I see there are only text button.

charzamm

select by face

Hello, this is a great script, thanks so much. do you know of any that will allow me to do the same but only select by face so i can get which multisub its using to show up right away in the display. thanks!

B

sometimes when using the script it deletes all the ''views'' in the slate material. only view 1 is left.

Reply to B
Hernan Rodenstein

The aim of this script is to display the materials for the selected objects in a clean view, to give you quick access to them. If you already have the Slate Material Editor opened, the script will clean the current view and display just the materials you asked for.
If you want to modify the script to work as you need, please feel free to do it.
Cheers!

harumscarum

cool script! thank you

very useful! thank you very much
any way to modify it in order to display material with hidden unused slots?

Reply to harumscarum
Hernan Rodenstein

thanks!

Glad you like it. I'm afraid the commands from material nodes context menu are not scriptable. Sorry!