The DEFAULTLIGHTINGTYPE variable is used for specifying the old or new default lighting type in a viewport. When the default lighting type is old, only one distant light is used. The new default lighting type allows for two distant lights and ambient light adjustments. The value can be:
Value
Description
0
Old type of default lighting
1
New type of default lighting
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: