[Search tip detail and code files using keywords, tip number, author name, etc ]
 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
LISP Progress Bars
Tip# 2205 By Terry Miller On 01-May-2007
4
Rated By 1 users Downloaded : 1453
Categories : Programmer's Tools, LISP Code Modules
Software type : AutoCAD
Rename File To : Tip 2205: ProgressBar.lsp
A cool trick to keep users apprised of progress when your program is involved in a long iterative process.

LISP Progress Bars (Tip #2205) by Terry Miller is a cool trick for entertaining users when your program is involved in a long iterative process. When applications need a long time to solve a problem or search for an answer, it's not uncommon for users to be left in the dark, wondering if the process is actually running or if the computer needs to be reset. Progress bars are an accepted method by most users because they see them frequently in other applications. Implementing progress bars in Visual LISP is greatly simplified by using Terry's utility set. In the source code, you'll find several examples of the progress bar system being used (functions named DEMO) in a variety of instances. There are three functions that you use in your programming along with a dialog box file (DCL) that needs to be located somewhere in the AutoCAD search path. The three functions can be found in the LISP source file after the DEMO examples, and they are for initiating the progress bar dialog, filling in the bar during the run and then closing the dialog. This sure beats putting dots on the Command line!

 

 

Average Rating:
4


User comments
Comment by Delgado,Joel
Posted on 2009-10-05 16:12:37
That is a goog tool.....