Thanks for the post back Snoelk I meant to update this thread to say that I solved the issue I was having. There were a couple of things wrong with my script: * When you give a number to the Edit_Poly.selectByMaterialID property it has to be one less than that of the MaterialID you really want. So if your after MatID 2…
Cool stuff, Snoelk. Out of interest, why do you zero the local bitArrays at the end of the script? Surely since they're local they'll be discarded once that function ends? Also any reason why you declare the bitarrays explicitly empty beforehand, instead of just doing:local varfacelist1 = polyOp.getFaceSelection objtosel…
Hello, I'm quite new to Maxscript and I've been trying to write a simple function that will return true or false if any faces have a specified MaterialID applied to them. I got it working but only by collapsing the object into and editable_poly or editable_mesh. Ideally I would like to be able to add a modifer to the top…