AcDbSystemVariables: {
    ACADVER: "ACADVER";
    ANGBASE: "ANGBASE";
    ANGDIR: "ANGDIR";
    AUNITS: "AUNITS";
    CECOLOR: "CECOLOR";
    CELTSCALE: "CELTSCALE";
    CELWEIGHT: "CELWEIGHT";
    CLAYER: "CLAYER";
    COLORTHEME: "COLORTHEME";
    EXTMAX: "EXTMAX";
    EXTMIN: "EXTMIN";
    INSUNITS: "INSUNITS";
    LTSCALE: "LTSCALE";
    LWDISPLAY: "LWDISPLAY";
    MEASUREMENTCOLOR: "MEASUREMENTCOLOR";
    OSMODE: "OSMODE";
    PDMODE: "PDMODE";
    PDSIZE: "PDSIZE";
    PICKBOX: "PICKBOX";
    TEXTSTYLE: "TEXTSTYLE";
    WHITEBKCOLOR: "WHITEBKCOLOR";
} = ...

Canonical names of the system variables currently recognized by the database layer.

The value of each field intentionally matches its key so callers can use this object as:

  • a centralized source of truth for variable names
  • a type-safe enum-like lookup table
  • an iterable registry source via Object.values(...)

Type declaration

  • ReadonlyACADVER: "ACADVER"

    Drawing version identifier, for example AC1014.

  • ReadonlyANGBASE: "ANGBASE"

    Base angle, in radians, used as the zero direction for angular input/output.

  • ReadonlyANGDIR: "ANGDIR"

    Positive angle direction flag: 0 for counterclockwise, 1 for clockwise.

  • ReadonlyAUNITS: "AUNITS"

    Angular unit display mode, such as decimal degrees or degrees/minutes/seconds.

  • ReadonlyCECOLOR: "CECOLOR"

    Current color applied to newly created entities.

  • ReadonlyCELTSCALE: "CELTSCALE"

    Current entity linetype scale multiplier for newly created entities.

  • ReadonlyCELWEIGHT: "CELWEIGHT"

    Current lineweight applied to newly created entities.

  • ReadonlyCLAYER: "CLAYER"

    Current layer name used when creating new entities.

  • ReadonlyCOLORTHEME: "COLORTHEME"

    UI color theme selector used by the application shell or viewer integration.

  • ReadonlyEXTMAX: "EXTMAX"

    Upper-right corner of the model-space drawing extents.

  • ReadonlyEXTMIN: "EXTMIN"

    Lower-left corner of the model-space drawing extents.

  • ReadonlyINSUNITS: "INSUNITS"

    Insertion units used for automatic scaling of inserted content.

  • ReadonlyLTSCALE: "LTSCALE"

    Global linetype scale multiplier for the drawing database.

  • ReadonlyLWDISPLAY: "LWDISPLAY"

    Flag indicating whether lineweights are displayed in the editor/viewer.

  • ReadonlyMEASUREMENTCOLOR: "MEASUREMENTCOLOR"

    Color used for measurement tool overlays (distance, area, arc).

  • ReadonlyOSMODE: "OSMODE"

    Running object snap mode bitmask (OSNAP settings).

  • ReadonlyPDMODE: "PDMODE"

    Point display style bitmask that controls how POINT entities are drawn.

  • ReadonlyPDSIZE: "PDSIZE"

    Point display size, expressed as an absolute value or viewport percentage.

  • ReadonlyPICKBOX: "PICKBOX"

    Pickbox half-size, in pixels, used for selection hit testing in the UI.

  • ReadonlyTEXTSTYLE: "TEXTSTYLE"

    Current text style name used when creating new text entities.

  • ReadonlyWHITEBKCOLOR: "WHITEBKCOLOR"

    Flag indicating whether the drawing background should be rendered as white.