Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I came across this script which replaces the Multisub material's name with its texture name.
It works great, But unfortunately breaks if the material ID's are out of order or missing.
Is it possible to modify this to run under those conditions?
( SelMat = medit.GetCurMtl() nSbMats = SelMat.numsubs for j = 1 to nSbmats do ( bitmp = getFilenameFile SelMat[j].diffusemap.filename SelMat[j].name = bitmp SelMat.names[j] =bitmp SelMat.material[j].diffusemap.name=bitmp ) )
Or if anyone has an equivalent script working with Max2016, that would be great too!
Thanks!
Jeff
Solved! Go to Solution.