Hi, I need help creating a script. I want the script to create a Standard Legacy Scanline Material for the objects selected in the scene. The material names should match the object names, including objects that have multiple material IDs/names.
Forum topic · General Scripting
Object name to Material name
By polbolotsoro · 2023-07-21
Description
Comments (4)
Thank you Kostadin!
Tokamak · 2025-06-02
There's a script that could rename materials by object name, but it's too old and displays an error when multiple objects are selected. :(
https://www.scriptspot.com/3ds-max/scripts/quick-naming
Attachments
- qn_error.jpg — qn_error.jpg45 KB
Hi
SimonBourgeois · 2025-06-10
If you need to rename existing material, you can use this :
for o in selection where o.material != undefined do o.material.name = o.name
.
miauu · 2023-07-21
(
for o in selection do o.material = (StandardMaterial name:o.name)
)
Omg. thank you so much
polbolotsoro · 2023-07-21
Thank you