Function Entry: VL-REGISTRY-READ

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

Function Entry: VL-REGISTRY-READ

Name

vl-registry-read

Class

Visual LISP Function

Syntax

(vl-registry-read reg-key [val-name])

Arguments and Values

  • reg-key: string; the registry / plist key path.
  • val-name (optional): string; the value name. With no val-name, the key's default value is read.

Description

Returns the data stored under the named value (or the default value) of a registry key, or the equivalent in a macOS property-list file.

Return Values

The stored data, typed as the registry value's data type, or nil if the key/value does not exist.

Side Effects

None.

Examples

  • After (vl-registry-write "HKEY_CURRENT_USER\Test" "" "test data"), (vl-registry-read "HKEY_CURRENT_USER\Test") returns "test data".

Availability

  • AutoCAD 2026: documented (Windows + macOS).
  • BricsCAD V26: presumed compatible.
  • Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.

Source Notes