About Loading an AutoLISP File with a CUIx File

AutoLISP application files contain custom commands and functions from the user interface, and must be loaded before they can be used.

When using AutoCAD or an AutoCAD-based program, not AutoCAD LT, AutoLISP programs can be loaded automatically when a customization (CUIx) file is loaded using one of these methods:

  • AutoLISP Menu Source (MNL) file that has the same name and in the location as the main, enterprise, or partial customization (CUIx) files being loaded
  • AutoLISP (LSP) files added to the LISP Files node of a CUIx file under the Customizations In pane of the Customize User Interface (CUI) Editor
    Tip: While only AutoLISP (LSP) files can be added the LISP Files node of a customization (CUIx) file, you can create a LSP file that loads FAS, VLX, and other types of custom program files. Other types of custom program files can be loaded using the NETLOAD, VBALOAD, or ARX commands along with the AutoLISP functions load, arxload, and vl-vbaload.
Note: AutoCAD LT doesn't support the automatic loading of MNL files, but the files can be loaded using the AutoLISP LOAD function from another LISP file.