ScriptSpot

Forum topic · Scripts Wanted

Viewport settings 2 default lights

By jsrocha · 2020-10-15

Description

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 (2)

Thanks!

jsrocha · 2020-10-19

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

Jsrocha

Swordslayer · 2020-10-18

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