To Create and Open Project Files (Visual LISP IDE)

Project files allow you to compile multiple AutoLISP source files into a single application file.

Note: The Visual LISP IDE is available on Windows only.

Create a project file

  1. In Visual LISP, click Project New Project.
  2. In the New Project dialog box, specify a name and location for the project (PRJ) file.
  3. In the Project Properties dialog box, Project Files tab, under Look In, click the [...] button.
  4. In the Browse for Folder dialog box, select the folder that contains the source files you want to add to the project. Click OK.
  5. In the Project Properties dialog box, AutoLISP source files list, select the files you want to add to the project. Click the [ > ] button.
  6. In the Project files list, use the Top, Up, Down, and Bottom buttons to change the load order for the files in the project.
  7. On the Build Options tab, change the options for the project and click OK.

    The Project window is displayed with the files you added to the project.

Example

This example uses the Visual LISP tutorials files. If you have already installed AutoCAD and did not install the tutorial files, rerun the installation, click Add or Remove Features, and add the Visual LISP (R) Tutorials item.

  1. In Visual LISP, click Project New Project.
  2. In the New Project dialog box, File Name box, enter GardenPath. Click Save.

    Specify a different location for the project (PRJ) file if you do not want to use the default location.

  3. In the Project Properties dialog box, Project Files tab, click the [...] button.
  4. In the Browse for Folder dialog box, browse to and select the <AutoCAD Install>\Tutorial\VisualLISP\Lesson5 folder. Click OK.
  5. In the Project Properties dialog box, under the AutoLISP source files list, click (Un)Select All.
  6. Click the [ > ] button.
  7. Click OK.

Open a project file

  1. In Visual LISP, click Project Open Project.
  2. In the Enter Project Name dialog box, click Browse.
  3. In the Open Project dialog box, select the project (PRJ) file you want to open. Click Open.