LIGHTINGUNITS System Variable

GstarCAD 2026 → System Variables

Function Description:

The LIGHTINGUNITS system variable is used to specify whether to use generic light source or photometric lights to control light, and specify light units for drawing.

TypeInteger
Saved inDrawing
Initial value2
Range0,1,2

When specified LIGHTINGUNITS to be 1 or 2, turn on photometric light; or turn on standard light.

System Variable Value:

0: do not use light units and turn standard (generic) light on
1: use the imperial light units and turn photometric light on
2: use the metric light units and turn photometric light on


Original help · © Gstarsoft Co., Ltd.