API:TIP OF THE DAY

Discussion in 'SolidWorks' started by TOP, Nov 25, 2006.

  1. TOP

    TOP Guest

    If you are writing a macro that will run for some time or that might
    get stuck somewhere put this line in it:

    DoEvents

    This call will let the OS catch up and do anything it needs to do like
    trap clicking on the macro stop button. Handy when debugging for the
    same reason.
     
    TOP, Nov 25, 2006
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.