hmm… if that’s the case… i guess i wouldnt know that either… 🙁 sorry… but if you still want to get only the materials in the scene, you could use…
A hunch is that the map is on you Environment Slot… or if you have a renderer that has a separate slot for its HDRI map… that could be it also…
under “String Literals”, it mentions the use of control characters inside a string… which includes your * (which is probably the cause of the error) …
im not sure if you’ve pasted it wrong, but i can see that you defined your funcion as “scanslots” with an “s”, but you called it inside “Scanslot” rec…
no problem… I’ll write down some comments for the fuction line by line… 1 fn lookForMatMap matmap = 2 ( 3 submatcount = try(getnumsubmtls matmap)…
oops, got it working as a single function… (I forgot that i needed to separate it last time for some scripting reasons that i cant even remember, hehe…
you could try parsing through a material using its “getnumsubmtls” and “getnumsubtexmaps” I used it in this script. You might want to take a look at …
as a work around, what I sort of did was collect all the materials recursively into an array, then I used the array for indexing the materials. It’s a…
Hi, this may also work, but its not very UI friendly (i think) the_file = (getdir #maxroot) + “…” + “/myfile.txt” createfile the_file the script wil…
I also tried the script, pretty cool Psan, you’ll need to change this: splineGrow getCurrentSelection() to this: splineGrow ( getCurrentSelection() …
Is there a way to read the objects list for each material from the “material/map browser”? Or do i need to sort through all object in the scene and b…
I think christmas just got an extention! cant wait for your DVD bobo!
im not sure if this would help (or if its really relevant), i made a script which also needed nested arrays saved and loaded with the scene… and this …
Just a small precaution, if you’re using max 6… and you have bipeds in your scene, be careful because there was a bug going around when loading render…