How to programatically assign random colors to objects in 3ds max?
+1
A:
This is what I found online as a solution:
for o in $* do
(
o.wirecolor = random white black
)
relima
2010-10-26 14:16:12
+1
A:
That works well if you just want to assign a random wire color. Here is some code for creating a standard material with a random diffuse color.
for o in $* do
(
m = standard
m.diffuse = random white black
o.material = m
)
cdiggins
2010-10-26 18:08:59
Thank you very much for this. I didn't know how to do it!
relima
2010-10-26 18:34:17