Setting up a Home folder for user-defined macros

PowerMill checks for the value defined in the Windows environment variable Home for directions to the user-defined macros folder. Decide where you want the Home environment variable to point to, for example, E:\PowerMill_Projects, and set up a Windows environment variable:

  1. Open Windows Control Panel and click System > Advanced system settings. This displays the System Properties dialog.
  2. Click the Advanced tab.
  3. Click Environment Variables.
  4. To add a new variable name and value, click New to display the New User Variable dialog.
    1. In the Variable Name field, enter Home.
    2. In the Variable Value field, enter the path where you want your home folder to be. For example, E:\PowerMill_Projects.
  5. Click OK in all open dialogs to save changes and close them.
  6. Create a folder called pmill4 inside the Home directory. For example, E:\PowerMill_Projects\pmill4.

When user-defined macros are created or called, PowerMill automatically locates the user-created macros in this folder.