The instructions are available for how to use AoutoLISP (.lsp) Application in Autodesk official website
In here I will explain to you, Simply how to use AoutoLISP (.lsp) Application for Windows operating system.
- Open a Notepad and type the lisp program or copy paste the AutoLISP program, if you already generated
- Save the Notepad as file extension “.lsp” (Example
“xxxx.lsp”)
- Open
AutoCAD and give comment “APPLOAD” or “AP”
- Load AutoLISP (.lsp) Application.
- To run the program give
comment which you written in your program (it's shown in your program after written as "defun c:" (Example : "hello" is the AutoCAD comment for below shown program
(defun c:hello ( / msg) (setq msg (getstring T "\nEnter a message: ")) (alert msg) ) (prompt "\nAutoLISP Tutorial file loaded.") (princ) ; Suppress the return value of the prompt function
No comments:
Post a Comment