ScriptSpot home

GetSelectedMaterial

Downloads

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

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
1.0
From original requirements
9 or newer
Original version requirement
9+
Author’s update date
Legacy votes
13
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

colinsenner

Colin Senner

More by this author

This script easily gets the material(s) and loads them into the material editor.

With multiple objects selected it will load them all into the editor.

I suggest keybinding this to CTRL-SHIFT-G for speeding up your workflow instead of using a toolbar icon!

Setup & notes

1. Run script

2. In Max goto "Customize->Customize User Interface...->Keyboard tab->Category: ColinScripts->GetSelectedMaterial", click the "Hotkey" field and press CTRL-SHIFT-G. Press Save at the bottom.

Comments (11)
Colin Senner

I have always liked the mushroom. most users don't have any icon, and my icon is just me from 4 years ago...maybe I should update it. I think I will.

Brittnell Anderson

Yeah, sorry about that!

One of our artists just made this stupendously awesome painting of my partners and I, and I'm just so excited about it that I'm plastering it everywhere I can.

I think it does look a bit more like me than the old "electric mushroom" though...

Colin Senner

You changed your icon after like a year! Now I don't recognize you...I'll get on that soon.

Brittnell Anderson

Hey Colin,

That addition to the script works just right, thanks!

Also, glad the idea about the multi-subs helped.  Hopefully it won't be too big a pain to implement.

Cheers,

Britt

Colin Senner

I prefer my no-interface approach. Since this is really a script that only saves you a few button clicks, it seems wasteful to go about clicking around and typing in an interface, since Max's interface allows this functionality already. Mine is just a streamlined approach to doing what I need to as fast as possible! Do you agree?

-Colin

Colin Senner

Great idea with the multisubs. I can implement something just like that soon. Honestly I couldn't think of anything to do with them, but your idea is great!

Colin Senner

Britt! Good to hear from you. I feel like we only talk when something is wrong ;). I originally wrote the script that way because that's how I like to work too. However, my colleagues didn't like this change so I kept it like it is now.

You can add that functionality back in very easily!

on the 7th line in between both "for"'s add this:

macros.run "Medit Tools" "clear_medit_slots"

and on the 5th line that reads:

     local curSlot = activeMeditSlot

change it to

    local curSlot = 1

Also check out my new PhotoshopSelectedMaterial script!  I think you'll like it.

 Regards,

Colin

Reply to Colin Senner
Brittnell Anderson

Heh heh... No, it's not that something's wrong per-se, more that I see it as an inspiring jumping-off point ("ooooh... wouldn't it be cool if").

Though now that I think about it, I suppose that can be kind of irritating. 😳

Thanks for the tip for adding that in, I'll give it a shot in the morning.

Also, sorry to hear your colleagues are "doing it wrong".  😉

I did grab your other recent script, and gave it a quick go.  Seems to do what it says just right, and will surely come in handy.  That said, I did catch the question about multi-materials, and it's a good one...  Is there any way to put a "stop" in with a check-mark or buttoned pop-up that would have the (hopefully named) slots available for selection (and subsequent forwarding to PS)?  Seems kind of nightmarish.

Thanks again for all your cool scripts, they really do get a lot of use over here!

I owe you a beer some day at the very least!

Cheers,

Britt

Brittnell Anderson

Thanks Colin!

Just an idea... Would it be too much "overhead" to clean the material editor prior to loading the material?

I have a "thing" about waiting to load someone's material editor that they've left 20 complex multi-materials loaded into.

I have been using the "MatClean" script to remedy this prior to opening the material editor, but it would be nice to have an "all-in-one" solution:  select object/"ctrl-shift-g"/edit solo material in optimized editor... ah, sounds like a dream.

Cheers,

Britt

Ps. Here's a post I made about the general idea a while back.