CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE

CAD tip CAD tip # 5891:

Question

CAD 
 %  platform  category 
A
To inform users about the progress of a lengthy calculation you can use progress bar ("thermometer"). In AutoLISP you can make use of the inbuilt function acet-ui-progress from Express Tools (must be installed).

Example - how to use it:

  
(acet-ui-progress-init "Working:" 10000); init - interval length

(setq i 0)

(repeat 10000; loop
; user functions performed here....
(setq i (1+ i))
(acet-ui-progress-safe i); update progressbar
)

(acet-ui-progress-done); dismiss progressbar
ACAD
100% *CAD
6.12.2007   18735×  
   
this tip shared by ARKANCE experts applies to: ACAD ·

See also:
Tip 15131:Regular Expression Syntax - for srxText, RegExp, rRename...
Tip 15090:3DPlot - 3D math surfaces in AutoCAD.
Tip 15089:2DPlot - parametric math curves in AutoCAD.
Tip 15080:How to replace internal blocks with external blocks (XREFs) in AutoCAD LT?
Tip 14861:RegExpCnt - LISP string replace function with arithmetic/counter-extension


Back    All CAD Tips



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD: 
OS: 
Categ: 
Text:
 FAQ
  





Please use these tips at your own risk.
ARKANCE is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist