AutoLISP source code files can be created and opened for edit in Visual LISP.
Note: The Visual LISP Editor is available on Windows only.
Create a new source code file
- At the AutoCAD Command prompt, enter
vlide.
- In Visual LISP, click File New File.
- Click File Save As.
- In the Save-as dialog box, click the Save As Type drop-down list and select Lisp Source Files.
- Specify a location for the LSP file and enter a name in the File Name box. Click Save.
Open an existing source code file
- At the AutoCAD Command prompt, enter
vlide.
- In Visual LISP, click File Open.
- In the Open File to Edit/View dialog box, browse to and select the LSP file to open. Click Open.