Function Entry: VL-LOAD-COM
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: VL-LOAD-COM
Name
vl-load-com
Class
Visual LISP Function
Syntax
(vl-load-com)
Description
Initializes ActiveX support for AutoLISP and loads the relevant extension environment.
Return Values
Host-defined success value.
Side Effects
Enables the ActiveX/COM extension layer in environments that support it.
Compatibility
- Windows-only in Autodesk documentation
- may map to broader compatibility/emulation behavior in clautolisp
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
- [AutoLISP Extensions Reference (AutoLISP/ActiveX)](https://help.autodesk.com/cloudhelp/2026/KOR/AutoCAD-LT-AutoLISP-Reference/files/GUID-07C3599E-EC87-4EC0-8F0B-8DE4BD150A64.htm)
- Status: documented.
clautolisp
Non-normative. Besides enabling the vla-* accessors, (vl-load-com)
binds the ActiveX enumeration constants as AutoLISP global variables
(acAlignmentMiddleLeft is 9). Measured by
probes/sources/probe-activex-constants.lsp on AutoCAD 2022 and BricsCAD
V25 / V26 for every name of BricsCAD's list of
[AC constants](https://developer.bricsys.com/bricscad/help/en_US/V14/DevRef/source/Lisp_acCONSTANTS.html):
AutoCAD binds 832 integer constants, BricsCAD 932 (both BricsCAD builds
agree); 30 differ between the products (the AcViewportScale family off
by one, acNative 64 / 60). On all three a second (vl-load-com) re-binds
nothing – a name set to nil stays nil, a name set to 99 stays 99 – and
(vl-load-com) answers nil on AutoCAD 2022, T on BricsCAD. clautolisp
binds the dialect's product's table (strict: the names both bind alike;
clautolisp / lax: all, AutoCAD's value where they differ), once per
document, never over a non-nil value. With the probe first in the run:
AutoCAD 2022 has none of them before (vl-load-com), BricsCAD has them
from the start of the document – so under the BricsCAD dialects clautolisp
binds them when a document starts, otherwise at the first
(vl-load-com).