LAYEREVAL (System Variable)

Specifies whether the layer list is evaluated for new layers when added to the drawing or to attached xrefs.

Type:Integer
Saved in:Drawing
Initial value:0

The setting is stored in an integer using one of the following values:

0

Off

1

Detects when new xref layers have been added in the drawing

2

Detects when new layers have been added in the drawing and xrefs

Note: LAYEREVALCTL overrides the LAYEREVAL and LAYERNOTIFY setvars when LAYEREVALCTL = 0. It acts like a global off (but not a global on). There is no effect even if LAYEREVALCTL is turned on if LAYERNOTIFY = 0 or LAYEREVAL = 0. LAYEREVALCTL must be set to 1 for LAYERNOTIFY and LAYEREVAL to function correctly.