Macros
A macro is a file which contains a sequence of commands to automate recurrent operations. You can create macros by recording operations as they occur in PowerMill, or by entering the commands directly into a text editor. Recorded macros have a .mac extension, and can be run from the Macro node in the Explorer.
You can record single or multiple macros to suit your needs. You can call a macro from within another macro.
There are two types of macros:
The initialisation macro, pmuser.mac, is run when PowerMill starts. By default, a blank copy of this macro exists in the
C:\\Program\Files\\Autodesk\\PowerMillxxxxx\\lib\\macro
folder. By overwriting or adding PowerMill commands to it, you can set up your own default parameters and settings. You can also place the pmuser macro in the pmill folder, directly below your Home area. Doing this enables personalised macro settings for individual login accounts.User-defined macros are macros you define to automate various operations.