[Solution] How to set vertex color for multiple objects in 3ds Max?

Edit Poly modifier doesn't allow you to change vertex color.
As the result, if you have multiple objects with a single vertex color to set, you have to do it one-by-one or use something like Vertex Paint (which also will make you paint each element manually).

Below is the script that sets one vertex color to all vertices in each selected object.


newVertColor = point3 (200/255.0) (200/255.0) (200/255.0)

for obj in (selection as array) do
	for i=1 to (polyOp.getNumMapVerts obj 0) do
		polyOp.setMapVert obj 0 i newVertColor

Feel free to leave suggestions.
You can leave a comment with "Facebook":
Не забывайте оставлять комментарии при помощи "ВКонтакте":