Current location - Health Preservation Learning Network - Healthy weight loss - What role does lisp play in CAD? How to use it? Be specific, so I can get extra points.
What role does lisp play in CAD? How to use it? Be specific, so I can get extra points.
Lisp itself is the development program of cad. It provides some simple function calculations, and the rest are all about the drawing function of autocad. Lisp program is similar to the stored procedure in database, which can process and draw cad graphics in batches.

Learning lisp is very simple. As long as you master the usage of several main commands, the sentence format is very strict, and lisp itself has many functions, so you don't need to remember.

Load LISP

1. You can use the APPLOAD command, and then find the LISP file to load and load.

2. You can drag the LISP file from the file manager to the graphics window of ACAD or load it.

3. After the command line, you can also load (load "c:\\temp\\xxx.lsp "). Please enter an actual path for the path name.

In addition, for an LSP program, (defun is not just a command or a function, the general program should have a prompt. If not, the word after the symbol c: is a command that can be used under ACAD. You can directly enter it after the command: and then execute it.