DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Progress Bar

Started by Garry K, January 09, 2013, 06:33:13 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

prl

#45
OK folks, referring to my comment in reply #41, here is an OLE version. Should work with DC versions 15.3 to 26.2   :)

It will halt the issuing basiccad routine until the busybar is fully loaded and displaying.  Then it resumes the basiccad code. Should prevent over-runs, specifically the situation where the basiccad routine is executed so fast that the busybar executable hasn't fully loaded and thereby misses the message to kill it.

To take advantage of this, you need to use the following syntax.

'load the DcBusyBar executable
run "DcBusyBar.exe", 2

GooPie

"Anyway, let me know if you encounter problems."

For my work, I have tested on large files, the macro may take up to 5 minutes. Currently no problem.  :)