To record a macro

Use the Record item to record a sequence of PowerMill commands to a macro file. Only values that you change in dialogs are recorded in a 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. Click Home tab > Macro panel > Record.

    This displays the Select Record Macro File dialog.

  2. Navigate to the appropriate directory, enter a File name and click Save.

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

    Note: 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. Click Home tab > Macro > Record to stop recording.