Recording macros in PowerMill

An easy way to create a macro is to record PowerMill commands as you work. Only the values that you change in the dialogs are recorded in the macro. Therefore, to record a value that is already set, you must re-enter it in a field, or re-select an option. For example, if the finishing tolerance is currently set to 0.1 mm, and you want the macro to store the same value, you must re-enter 0.1 in the Tolerance field during recording.

To record a macro:

  1. From the Macros context menu, select Record.

    This displays the Select Record Macro File dialog which is a standard Windows Save dialog.

  2. Move to the appropriate directory, enter an appropriate File name and click Save.

    The macro icon changes to display the recording icon to show recording is in progress.

    All dialog options that you want to include in your macro must be selected during its recording. If an option already has the desired value, re-enter it.

  3. Work through the set of commands you want to record.
  4. From the Macros context menu, select Stop to finish recording.

For more information, see Recording the pmuser macro and Recording the NC preference macro.