Material Name to Mat ID Name
Material IDs are blank by default. This populates the blank names by copying the names of the current submaterial, ignoring undefined materials and slots that already have names in them.
Written in Max 2016, but should work in all other recent versions as well.
To install, run the script, then grab it from the "# scripts" category in Customize User Interface.
- Materials must be assigned to at least one object in the scene (or else it won't show up in scenematerials)
- Ignores empty slots
- Ignores slots with existing IDs