Function Entry: VLAX-IMPORT-TYPE-LIBRARY

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

Function Entry: VLAX-IMPORT-TYPE-LIBRARY

Name

vlax-import-type-library

Class

Visual LISP automation utility

Syntax

(vlax-import-type-library [options ...])

Autodesk documents the concrete keyword syntax as:

(vlax-import-type-library
  :tlb-filename filename
  [:methods-prefix mprefix
   :properties-prefix pprefix
   :constants-prefix cprefix])

Keywords are required for the arguments.

Description

Imports information from a type library.

Return Values

T if successful; otherwise nil.

Side Effects

Creates or registers bindings based on external type-library metadata.

Notes

  • Autodesk documents that imported wrapper functions are available only in the context of the document from which the import was issued.
  • Autodesk recommends calling this at top level, before any code that uses the generated wrappers or constants.
  • Autodesk recommends avoiding absolute paths for portability.

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.

Compatibility

Available on AutoCAD for Windows only; not available in AutoCAD LT for Windows, or on macOS or Web.