Change wirecolor of a vray light with maxscript

Hi!

Does anyone know if it is possible to change the yellow color of the vray light in the viewport with maxscript?

Thanks!

Anything you can change with maxscript can be checked by selecting the object you want to tweak and then typing “showproperties $” without the commas in the maxscript listener and it’ll show you any property that you can change, unfortunately wirecolor isn’t in there.

You can change the light colours globally with setUIcolor. For example, this sets changes all the lights to red:
setUIcolor 35 (point3 1 0 0)

@joconnell Thanks for the tip!
@DanielBrew Good to know. Unfortunately that doesn’t solve my problem. I whould like to have one color for lights that only adds reflections and one color for lights that only adds diffuse and so on.

Hi,

We are working on an option to allow you to change the wirecolor of all V-Ray lights.
I hope to be implemented soon.

That sounds great! Thanks for the reply.

Have a great weekend!