How to Run AutoLISP Program

Note : First Copy and Paste Entire Program Text from My Blog to a Notepad , Then save it as
" Example.lsp " 

1.  using Appload Command in AutoCAD Command Prompt

Type "Appload" at the Command Bar in AutoCAD  or Got to Tools ->Load Application
Then Select the Saved Autolisp Program file (it has to be file extn. .lsp) then click to file and Load it
click close to close Dailog box.

Image :

After Closing Dialog box ,You can see bellow  massage








2.  Run Program
If the program has loaded successfully , you can now proceed to run the program in current drawing session.
Type Program Syntax (command Name) , if you not able to get command name then go to program file Location and Right Click Then open with Notepad or any other supported format 
then you can see command name its looks  "(defun c:example()...." 









0 comments:

Post a Comment