https://www.scriptspot.com/3ds-max/scripts/batch-exportimport
F11 > for obj in objects do (obj.wirecolor = color (random 0 255) (random 0 255) (random 0 255))
for obj in objects do obj.material = copy (StandardMaterial name:("Mat_" + obj.name) diffuse:(color (random 0 255) (random 0 255) (random 0 255)))