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 noval-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
- [vl-registry-read (AutoLISP 2026)](https://help.autodesk.com/cloudhelp/2026/ENU/AutoCAD-AutoLISP-Reference/files/GUID-0B9E26CF-2410-482E-B568-7FE05B9F013C.htm)
- Status: documented (Phase 3 body fill).