Creating a Task in Run Custom Task

To create a task in Run Custom Task:

  1. Click Run Custom Task on the sidebar, or click Tasks > Run Custom Task.
  2. In the dialog box, type a new title for the task or leave the default in Task title.
  3. In Program path, type the path to the program you want to run, or click Browse to locate it.
  4. If the program requires any program arguments, type them in Program arguments.
    SOLIDWORKS Program argument Program argument definition Set by default
    /b Run the SOLIDWORKS software in the background yes
    /m Run the SOLIDWORKS macro yes
  5. To run a macro or SOLIDWORKS macro template, type the path in Macro file path, or click Browse to locate it.
    If you specify a SOLIDWORKS macro template, the token names and their types appear in the Parameter Name and Type columns under Task parameters.
  6. In each row that shows a Parameter Name and Type, click in the Parameter String column and type the parameter value.
If you specify a SOLIDWORKS macro template, create a backup copy of the macro template file before scheduling and running the task, or store the macro template file in a location other than the task working directory. Click View > Options > Task Options to see the task working directory.