Select Object By Material Name

Version: 
1
Author Name: 
David Mackenzie

Select Object By Name

Select Objects By Material Name

As the name implies this is a simple script for selecting objects based on the name of the material assigned to them. I originally wrote the tool to deal with a sketch up file that was exported for 3ds max, when it came in it had thousands of objects each with their own material, this made it very difficult to work with the file and this script was the result.

The script supports wild cards. For example if you have objects with material names like “AC01_GLASS_01″, “AC02_GLASS_02″ etc. You can drop in wild cards at the start and end such as “*GLASS*” which will select the objects that have an assigned material with a name that has the word glass in it.

I hope you guys like, if you have any suggestions or comments please feel free to leave them below. 

Cheers, 

Dave

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
appius's picture

submat?

hi, it works fine, but it would be nice to work also on submaterial names.

titane357's picture

Hello, Thanks for this script

Hello,
Thanks for this script ! I just needed it yesterday (argh) :-)
Just one thing : you must put ".ms" in Script folder (not Script/Startup)
or you need to change your .mcr path.
Assign material must be used with precaution as it don't have any undo....
(works with max2011design)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.