Function Entry: GETCFG

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: GETCFG

Name

getcfg

Class

Function (obsolete)

Syntax

(getcfg cfgname)

Arguments and Values

  • cfgname: string of the form `"AppData/applicationname/sectionname/…/paramname"`, up to 496 characters.

Description

Obsolete. Retrieves application data from the AppData section of the acad20xx.cfg file. Autodesk recommends vl-registry-read for new code.

Return Values

The stored string on success, or nil if cfgname is invalid.

Side Effects

None.

Examples

  • (getcfg "AppData/ArchStuff/WallThk") returns "8" when WallThk is set to 8.

Availability

  • AutoCAD 2026: documented (obsolete; use vl-registry-read).
  • BricsCAD V26: presumed compatible (obsolete behaviour).
  • Status: AutoCAD documented as obsolete; BricsCAD presumed-both pending Phase 4 verification.