“-3.05176e-005” is a number in exponential form, it’s almost zero (-0.00000305176)
Yes, I think the problem is that for buttons the alpha has to be white on the part you want to remove, it’s the opposite that it does for toolbar icon…
Your code seems to be correct, at leas the part you posted, only thing that I can think of is that there is some problem with the images. Have you tri…
+1 to that. On top of being a much better editor it has the benefit that, being a separate application, if Max crashes you don’t lose your unsaved scr…
Not sure if it will work for you but, in the 3DsMax script editor if you close the brackets holding CTRL key all the contained nested brackets will cl…
Good, you are welcome The script I posted only uses the SME to delete the unused 2Sided materials in the second part, the first part should work reg…
I’m not sure I understand what you need, do you want the script to only change the materials that are in the slate editor?
Here is my take: materialsToDelete = #() — Loop all the scene Multimaterials for multi in (getClassInstances Multimaterial) do ( — Check ea…
At the end AppData seems to be working pretty well, thanks for your suggestions anyway
Yes, maybe genGuid() is a bit of overkill, will have it into account. BTW how do you guys choose an AppData index? I just pick a random one between 3…
denisT: The good thing about AppData is – it’s NOT duplicating with clone It wipes from newly created node (material i your case). What is good fo…
PolyTools3D: How about working with the sceneMaterials array? Cleaning it up and sorting on a pre-save scene callback and then using the indexes as…
denisT: what is idList? It’s a string list of the ID’s of the material selection to restore. The ID’s are UUIDs created with genGuid() to avoid r…
The intention of this function is to retrieve the scene materials that where chosen by the user when the script is opens anew. Each material will hav…
O well, I was hopping there would be a more straightforward way to do it to keep things simple and fast If I have to do it with AppData I guess the …