Milling macros

Macros can be generated in the NC code for multiple Z levels of a milled feature. To generate these macros, your post processor must support them, and you must turn this function on for the post.

  1. Select File > Options > Posting tab.
  2. Select your post processor.
  3. Deselect Disable Macros.
  4. Click OK.
  5. Select Features & Manufacturing tab > Options panel > Machining Attributes.
  6. On the Operations page, click the Automatic Options button and selectMinimize tool changes.

    You could set Minimize tool changes in the Ordering dialog instead. Using the Default Attributes setting includes macros for any parts you create.

  7. Turn off Minimize rapid distance.
  8. Click OK.

Now when you generate NC code, you get macros for the milled features that are milled at multiple Z depths.