CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 3304 

CAD tip CAD tip # 7245:

Question CAD 
 %  platform  category 
Q - question

How to load/install a LISP application in AutoCAD?

A - answer I have downloaded a VLX or LSP file - what can I do now to use it?

The LISP code has to be loaded into AutoCAD. You can load ("install") a LSP, VLX or FAS file containing an add-on application or utility into AutoCAD just by mouse-dragging it from Windows Explorer (or other file manager) to the AutoCAD window. Only after you load the application into the running session (and current drawing), the functions and commands programmed in the specific application will become available. On loading, the application usually lists the command name(s) which it defines and which is then used to start or control the application functionality. E.g. if it displays the text C:MYCODE on load, you can run the function with the MYCODE command typed on the AutoCAD command line (with small utilities, the name of the LSP/VLX file is often the same as the command name).

Another way of loading the AutoLISP (VisualLISP) code of an application is the APPLOAD command, where you select the requested files to load. By dragging them to the "briefcase" icon in the dialog of this command, you can guarantee their automatic loading in the subsequent AutoCAD sessions.

Yet another option is entering the LISP command (load "myapplication.LSP") on the AutoCAD command line (in this case, your LSP file should be stored in the AutoCAD support path). You can also add this command to your ACAD.LSP or ACADDOC.LSP file for automatic loading in the next sessions. LISP files with the .MNL extension are loaded automatically when loading the relevant menu file (MNS, MNU, CUI, CUIX).

Loading a LISP application and defining your own ribbon icon for its command is summarized in the following video (in Czech):

An overview of loaded LISP applications by CAD Studio/XANADU (if any) and their command set can be displayed easily by the new common command they define: XANADU (resp. CADSTUDIO).

ACAD
100% *  CAD 
8.3.2010    110327x   FAQ  
Comments   Tell a friend
applies to: AutoCAD ·

See also:
Tip 10682:Automatic classification of drawing objects by their properties.
Tip 10647:How to store macros inside DWG drawings?
Tip 9855:Overview of postprocessors available in the CAM software Inventor HSM 2015.
Tip 9553:Complete thorough PURGE on a single click.
Tip 9528:Using Autodesk Fusion 360 as a CAD converter.


Back   All CAD Tips All CAD tips&tricks

How to select all drawing entities containing a given text? « | » Searching text in DWG drawings (without AutoCAD).

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
Add .CIT raster format support to AutoCAD and Map and Civil 3D
CITin More info


Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist