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 .txt resource packaged in a VLX, without the .txt extension.

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.