Script for VRay light icon text turn on/off toggle

Hello,

I am looking a script of VRay light icon text turn on/off toggle.

anyone have script?

Actually i am done something like

(
 
On Execute Do
 
(
 
$.icon_text = $.on = not $.on
 
)
 
)

It works but it turn on & off light as well as icon text
i want only icon text turn on & off

anyone can update the code.

Thanks

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
obaida's picture

$.on !

$.on will turn the light on
just use this
$.icon_text = not $.icon_text

sketchupmaster's picture

Thanks . . .

Hi Obaida,

Yes now it's working like charm.
THANK YOU . . .

Thanks,
Sketchup Master

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.