thanks eric ur code does exactly what i was looking for…
thanks for replying dave… we definitely get all the the names but what i want is only the name of ths sub-material that is assigned to the box… and it…
thanks for the tip… very handy…
thats it… that was the problem indeed… thanks martijn
gravey you are right… the code by itself does work… out_name = getSaveFileName() fStream = openFile out_name mode:”w” if out_name != undefined th…
thanks ofer… u are a genius… how long have u been working with maxscript? do u know everything about maxscript?
thanks for replying again… your code does work and i did the same thing but i am not able to use the arraymain[i] as my index… if i can deleteItem fr…
thanks u so much… u have made my day cgtalk rules will update on how things work… edit: i am trying to add an ignorecase function to ur script as it…
how did u know there is something like the m.numSubs property.i cant find it in the showproperties listing and neither in its superclass… i was access…
suppose i have 10 different materials – 3 multi sub and 7 standard i only want to use 2 different materials to perform my action so i was thinking of …
thanks a lot… ur function works like a treat… i have made a few changes to fit in my script and its all cool… thanks again… could you shed some light…
thats exactly what i am doing… its a multisub material so the name of the sub-material “name” slot is different than the name of the actual sub-materi…