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.
Source Notes
- [vlax-import-type-library (AutoLISP)](https://help.autodesk.com/cloudhelp/2026/CHS/AutoCAD-LT-AutoLISP-Reference/files/GUID-1699B6A0-C4A6-4BC4-82DF-5040CFF3394A.htm)
- [About Importing a Type Library (AutoLISP/ActiveX)](https://help.autodesk.com/cloudhelp/2023/HUN/AutoCAD-AutoLISP/files/GUID-B140BF54-AD94-47EE-BC3E-91AEFA63D0CE.htm)
Compatibility
Available on AutoCAD for Windows only; not available in AutoCAD LT for Windows, or on macOS or Web.