Tagged 'SME'

Select Objects By Sub-Material

2 votes

Select Objects By Sub-Material (SOBSM) is a simple free script that allows you to quickly select all objects in your scene that use a selected sub-material from a Multi/Sub-Object material.

Unlike the native "Select Objects By Material" tool, which only selects objects by exact main (parent) material match, this script analyzes material IDs assigned to faces/polygons. This allows you to select objects by a specific sub-material, even when a Multi/Sub-Object material is assigned to the entire object and the desired sub-material is only used on a portion of its faces.

The script works with both material editors in 3ds Max - the Compact Material Editor (Medit) and the Slate Material Editor (SME). Select a sub-material in any editor, run the script, and all objects that use this sub-material (on faces with the corresponding ID) will be selected.           

Purge Unused Materials

2 votes

A simple macroscript to delete all unused materials from the Compact Editor Material Slots AND the Slate Material Editor Views.
The Compact Editor Code is from the existing Macro found under the Compact Material Editor "Utilities" menu.
I have added the code to also purge the SME at the same time.

You might want to check out the "Purge Empty Layers" macroscript as well. There are some awesome scene management tools out there but these are both small, simple tools without a lot of overhead for doing a little housekeeping before saving your file.

Syndicate content