Function Entry: AUTOLOAD
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: AUTOLOAD
Name
autoload
Class
Function
Syntax
(autoload filename function-list)
Arguments and Values
filename— string naming the AutoLISP file to be loaded on demand.function-list— list of strings naming commands whose first use triggers the load.
Description
Registers deferred loading so that the named file is loaded when one of the named functions is invoked.
Return Values
Always returns nil.
Side Effects
Installs autoload stubs or equivalent deferred-loading behavior.
Availability
- AutoCAD 2026: documented.
- BricsCAD V26: presumed compatible (AutoLISP-family function; no contradicting page found).
- Status: AutoCAD documented, BricsCAD presumed-both.
Compatibility
Part of the standard application-handling family.
Source Notes
Notes
- Autodesk documents that
filenamemay omit both the path and the extension. - Autodesk documents the extension search set as
.lsp,.fas, or.vlxon Windows, and.lspor.fason macOS. - Autodesk documents secure-mode restrictions beginning with AutoCAD 2014-based products through
SECURELOADandTRUSTEDPATHS.