RUN REPORTER

From Macros Wiki
Jump to: navigation, search

Up

Command

RUN_REPORTER <output file> <reporter type> [<custom template>] [<render type>]


Run the reporter.

Parameters

<output file>
Output filename
<reporter type>
0=part, 1=tool, 2=ops, 3=custom
<custom template>
Custom Template Filename (only used if reporter type=3)
<render type>
0=op sim, 1=legacy cpr (default op sim)

Example

RUN_REPORTER "MyReport.xlsx", 1
RUN_REPORTER "MyReport.xlsx", 2, 1
RUN_REPORTER "MyReport.xlsx", 3, "MyCustomTemplate.txt"
Note - When using a custom template, you must specify the full pathname of the template file
unless the template is in the same folder as the macro, in which case just the filename can be used