I tried to get Chat GPT to modify the script to not only remove duplicate sub-object ids, but also remove them from the mesh, but it wasn't able to sort it out. Maybe someone who knows MaxScript could fix this? ( -- Get the selected object obj = selection[1] -- Ensure the object is valid and has a Multi/Sub-Object material…
Hi guys... I am working on Max 2012 and am working on quite a big scene. I have combined a number of models together and sampled the multi-sub material in the Material Editor. Unfortunately, it seems that Max has generated about 300 different materials, even though I am only using about 20 textures. After looking at some…
Hey bro, I had this script laying around. If you are only using diffuse maps it might help you. ( prevMatCount = scenematerials.count diffuseMapList = #() materialList = #() scenemats = scenematerials for m = 1 to scenemats.count do ( dmapFile = scenemats[m].diffuseMap.filename getMat = findItem diffuseMapList dmapFile if…