How to delete one of the sub-material by maxscript like the delete button on the multi/sub-object rollout。
I used deleteitem $.material.materiallist 2,but the result is not what I want !
I need some helps! Thanks a lot !
Forum topic · General Scripting
By lucifercxw · 2017-04-12
How to delete one of the sub-material by maxscript like the delete button on the multi/sub-object rollout。
I used deleteitem $.material.materiallist 2,but the result is not what I want !
I need some helps! Thanks a lot !
`
pixamoon · 2017-04-16
Hi,
Take a look here:
http://help.autodesk.com/view/3DSMAX/2016/ENU/index.html?guid=__files_GU…
to delete submaterial 2:
$.material[2] = undefined
Best,
Pixamoon