Setting Lights for All Configurations

Are there any API codes to set this option while changing the light settings?

SolidworksApi macros