With MaxScript I can not access more than 20 slots with VrayMultiSub tex.
For example, the following script will cause an error.
(Assign VrayMultiSub map to Diffuse of VrayMtl and run)
$.material.texmap_diffuse.addSubtex 80
for i = 1 to 100 do
(
execute ("$.material.texmap_diffuse.color_"+ i as string +" = (color 0 0 0)")
)
work with i = 1 to 20
Please advice how to access more than 20 slots.
For example, the following script will cause an error.
(Assign VrayMultiSub map to Diffuse of VrayMtl and run)
$.material.texmap_diffuse.addSubtex 80
for i = 1 to 100 do
(
execute ("$.material.texmap_diffuse.color_"+ i as string +" = (color 0 0 0)")
)
work with i = 1 to 20
Please advice how to access more than 20 slots.
Comment