Change Self-illumination value on 2000+ materials

Hi all, I need to change the self-illumination value on over 2000 materials in my scene. Is there some type of script out there than can do this or automate this somehow? I know absolutely nothing about scripting. It is on the list of things to start learning. Does anyone have anything that they would be willing to share or point me in the right direction? I have searched script-spot, but not to sure what to look for. Thanks all! Troy

VMC (Vray Material Control) should do this I think. Look it up on scriptspot.com. IIRC its very easy to use (I don’t do script either)

Select all objects that you need to change and do this in a new script then execute… :slight_smile:

for obj in selection do
(
     obj.material.selfIllumAmount = 100 -- Replace 100 for your value
)

(Not tested but should work..)