Users often come across usable code they want to add to their systems but don’t know how to proceed.  You may obtain a file with the extension LSP, VLX, DVB, etc.  Another case is lisp code in the form of text.  In this case we need to get it into a file with this first procedure.

Inline LSP Code to File:

  1. Highlight the text in the source window (email, newsgroup reader).
  2. Right click and choose Copy.
  3. Open a Notepad or any pure ASCII editor.
  4. Right click and choose Paste.
  5. Choose File > Save As.
  6. Choose an appropriate folder and enter the name “FILENAME.LSP” including the quotation marks.  Otherwise Notepad will name the file FILENAME.LSP.TXT, which won’t work.

Also, it’s highly recommended that you create a dedicated folder (like C:CADSTUFF) to place these files.  If you place them in the AutoCAD folder they may be removed if you upgrade/reinstall.

Adding functions to Startup:

  1. Command: APPLOAD
  2. Choose the (Contents) button in the Startup Suite.
  3. Choose the (Add) button, then browse to the location of the code file and select it.
  4. Choose the (Close) button to close the Startup Suite.
  5. Choose the (Close) button to close the Appload Dialog.

From this point forward, the commands defined in these code files should be available in future sessions without needing to load them each time.

Comments are closed.

Post Navigation