Function Entry: VL-GET-RESOURCE
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: VL-GET-RESOURCE
Name
vl-get-resource
Class
Visual LISP VLX resource function
Syntax
(vl-get-resource text-file)
Arguments and Values
text-file— string naming a.txtresource packaged in a VLX, without the.txtextension.
Description
Returns the text stored in a packaged VLX text resource.
Return Values
Returns a string containing the resource contents.
Exceptional Situations
Signals an AutoLISP-visible error if the named resource cannot be retrieved.
Compatibility
- VLX files are Windows-only in Autodesk's execution model.
- Autodesk also documents the function as supported on macOS/Web but having no effect there in some recent references.
Availability
- AutoCAD 2026: documented (per Autodesk reference page).
- BricsCAD V26: presumed compatible (no contradicting page found).
- Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.
Source Notes
- [vl-get-resource (AutoLISP/Visual LISP IDE)](https://help.autodesk.com/cloudhelp/2025/JPN/AutoCAD-LT-AutoLISP-Reference/files/GUID-947B44CE-EAC4-4B17-83E1-8521AD5F5341.htm)
- [vl-get-resource (AutoLISP)](https://help.autodesk.com/cloudhelp/2016/FRA/AutoCAD-MAC-Core/files/GUID-947B44CE-EAC4-4B17-83E1-8521AD5F5341.htm)