I tried the above macro but found the tool path regeneration oembutton 160 goes into some kind of indefinite loop. The tool path dialog box opens indicating the tool path is being regenerated but only "hangs" there indefinitely. Cycle Start never executes.
Also, I assume DoOemButton(0) is a typo and should be DoOemButton(1000).
Thanks, TomR