How to load an AutoLISP Program

  •  1st Method < Manually > :

  1. In AutoCAD type APPLOAD or AP.
  2. Select your AutoLISP program (*.lsp, *.fas, *.vlx).
  3. Then hit Load Button.
  4. Finally hit Close Button to close the dialogue.
  •   2nd Method < Automatically > :

  1. In AutoCAD type PPLOAD or AP.
  2. Select your AutoLISP program (*.lsp, *.fas, *.vlx).
  3. Hit Contents Button.
  4. From the next dialog, hit Add and select your program as in option (2) above.
  5. Hit Close Button to close the dialogue.
  6. Hit Load Button then close the dialogue.
  • 3rd Method < Using the acaddoc.lsp > :

  1. Open your Support Folder then add a text file acaddoc.lsp if it is not already existed into the Support Folder then add your AutoLISP codes inside the above-said text file then Save and Close the file.
  2. Now you can call the command names of your programs if added to acaddoc.lsp and they would be available with every new opened drawing.

NOTE: Path of Support Folder:

C:\Program Files\Autodesk\AutoCAD 20XX\Support

  • 4th Method < Using the acad.lsp > :

You can do the same with this method as in the 3rd Method above but the name of the text file should be acad.lsp.

So this method of auto-loading programs would be loaded only once on the first opened drawing.

Author : Tharwat Al Shoufi

%d bloggers like this: