This task executes a system command.
The cross-task settings can be found in the chapter General task settings.
Model filter
This task can revise the following models: Parts, Assemblies and Drawings
The task-specific settings are:

1.Script
Enter your own script. Alternatively, you can load a script from an .mpx file. You load an .mpx file from a script. Write the following as a script: CALL "%*"
To search the text box, right-click to open the context menu and click Search. Alternatively, you can use the keyboard shortcut Ctrl + F.
2.Arguments
You can enter arguments that are passed to the script. If you call an .mpx file from a script, enter: "@project_dir@\Skript.bat"
Please note: User variables must be specified under Arguments (2). |
3.Save results to user variables
Enter the names of the user variables that you want to fill.
–Out (Default Off)
–Err (Default Error)
–Ret (Return code): If the script was executed without errors, 0 is returned. All values other than 0 are an error.
Please note: Special case: If the same variable is entered for standard output and standard error, the values are applied asynchronously. The result is that the output and error are displayed in the console in the same format, i.e. either a standard output or an error is displayed. |
4.Run in Background
If this option is enabled, the script will be launched in a separate process that runs in the background.
5.Wait Time (s)
Specify how many seconds the script should wait before it is executed in the background.
Tip: You can use Variables. |