is there a way to assign random V-ray basic material to each layer in the file ??
i need it so when i export to 3ds max i will just change the material setting.
How do you apply Vray materials with python
(I split this lonely comment to a long-closed topic into a new one, so that it would attract more possibility of help.)
All you need to do here, is to understand what Material Index your Vray materials have. Then, select from those indices and set the values as explained here: