The DEFAULTLIGHTING variable is used for turning on and off default lighting instead of other lighting types. The value can be:
Value
Description
0
Default lighting is turned off automatically when the other lights such as distant lights, point lights, spotlights, or the sun are turned on.
1
Only default lighting is turned on.
Access Methods
OdDbDatabase::getSysVar()
OdDbDatabase::setSysVar()
Access methods provide access to the value for the current viewport. Alternatively users can invoke direct access methods in their code depending on the type of database object: