Hey Thank you so much for you help, I have managed to achive what i wanted to achive with the help of your code. So the final script is:( on execute do ( for theNode in (Selection as Array) where ((superClassOf theNode) == GeometryClass) do ( local theMaterial = theNode.material if ((classOf theMaterial) == Standard) then…
Hi, I got the code, a patch of mine and yours, still don't know if you want to set the diffuse colour to white too. Not super tested, let me know if you got any issue, or want to extend it. MacroScript SelfIlluminationcategory:"EdNWoodysScripts"tooltip:"Change Materials to Self Illuminated"ButtonText:"SelfIlluminated"( on…