CAD Forum
Cesky English Deutsch
Login:
 Visitors: 1256 

WWW server of the XANADU company (formerly: CAD Studio) Become a fan of CADforum on Facebook

CAD tip CAD tip # 5891:

Question CAD 
 %  platform  category 
Q - question

How to use a progressbar in LISP functions?

A - answer 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    4438x  
Comments   Tell a friend
Share tip: Digg it! Del.icio.us Facebook Technorati StumbleUpon
applies to: AutoCAD ·

See also:
Tip 7082:Selecting block objects by name.
Tip 6561:Text aligned along a line.
Tip 6403:Select all specific texts in a drawing.
Tip 6365:The "Select similar" function also in plain AutoCAD.
Tip 6103:Arithmetic expressions in AutoCAD dynamic input fields.


Back   All CAD Tips All CAD tips&tricks

My thumbnails (previews) are not updated in the Sheet set manager. « | » How to resize an entity differently in X - Y - Z directions (axes)?

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. 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 glossary   



Featuring:
Extend your AutoCAD LT productivity with our popular add-on
Xanadu LT Extension More info


Please use these tips at your own risk.
XANADU (CAD Studio) is not responsible for possible problems that may occur as a result of using any of these tips.