selection loop with a clause
I wonder if someone could point me in the right direction with this:
I have modified a script that converts all scene materials to plain random coloured materials.
I am trying to add a clause, so the script ignores materials that have a refraction colour less than black and/or have refractance map enabled.
The script as I have it is attached (it has been written to function with Vray).
Any help would be massively appreciated!