Viewport settings 2 default lights

Hi guys,
is there a way to create a script that automate this task? to change default lights to "1 default light" to "2 default lihgts". I´ve searched a way to make a shortcut to this tool, and tried to create a macro, but i couldn't do it.
Heres a screenshot of the settings - https://prnt.sc/v03kcf
I´m using max 2019, thanks in advance.

Jsrocha

Comments

Comment viewing options

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

Thanks!

wow man, i owe you a very cold and large pack of beers! :-D
Thank you very much!!

Jsrocha

Swordslayer's picture

 

(NitrousGraphicsManager.GetActiveViewportSetting()).DefaultLightMode = #TwoLights

Comment viewing options

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