Before
running your program, save all the files you changed, if you have
not already done so. You can choose File
Save All from
the VLISP menu, or use the ALT + SHIFT + S keyboard shortcut to
save all your open files.
The
next thing you must do is reload all the files in VLISP.
To load and run all the files in your application
- If
the project file you created earlier in this lesson is not already
open, choose Project
Open Project from the VLISP menu,
then enter the project file name gpath; do not
include the .prj extension. If VLISP does not
find the project file, choose the Browse button and choose the file from
the Open Project dialog box. Click Open.
- Choose
the Load Source Files button in the project window.
- Enter
the (C:GPath) command at
the VLISP Console prompt to run the program. If you have some debugging
to do, try using the tools you learned in Lessons 2 and 3. And remember,
if all else fails, you can always copy the code from the Tutorial\VisualLISP\Lesson4 directory.
Also, try drawing the path using both lightweight
and old-style polylines. After drawing the paths, use the AutoCAD list command to determine whether
or not your program is drawing the correct entity types.