dos_progbar - dalefugier/DOSLib GitHub Wiki

Manipulates the AutoCAD Status Bar Progress Meter. This function is called once to initialize the progress meter. Then, it is called any number of times to move the progress meter in an absolute or relative manner. Finally, it is called with no arguments to reset the status bar.

Syntax

(dos_progbar message maxvalue)
(dos_progbar abs/-rel)
(dos_progbar)

Parameters

message

A string containing a message.

maxvalue

An integer representing the maximum range value (between 0 and maxvalue) of the progress bar.

abs/-rel

An absolute position to move the progress meter, or a relative position (denoted with a negative sign) to move the progress meter.

Returns

T if successful.

nil if not successful or on error.

Examples

Command: (dos_progbar "Wait..." 10)
T
Command: (dos_progbar -1)
T
Command: (dos_progbar)
nil