Use the custom report script to create customized PowerPoint reports, automatically.
A new custom report script template has been created to enable you to generate customized PowerPoint reports, automatically. You don't need to be a programmer to use this template. The new CustomReport.vbs script uses the default.rpt file and default.pot file which are located in the installation folder:C:\Program Files\Autodesk\Moldflow Insight 2018.2\data\reports
In addition to the default .rpt and .pot files, you can also find templates files for:
Customize these templates, or create your own .rpt file and PowerPoint template (.potm/.potx/.pot) to ensure that your report includes the information that is important to you.
The .rpt file
The .rpt file contains the report content, and points to the default report template. It includes optional formatting controls that enable you to move content relative to the margins on the slide. Use commas to separate values (CSV format), and an apostrophe (') or hash (#) to indicate comments. The script is not case-sensitive.
- Report related controls
- Report related controls include:
- Title page, which includes the name of the report and the author.
- AddImage, which adds an image of your company logo, for example, or the author of the report.
- Template, which specifies the report style.
- Option, which sets global parameters.
- Study related controls
- Study related controls include:
- GeometryInformation, which provides an image of the model.
- AnalysisInformation, such as the analysis sequence, the software version, and the mesh type.
- MeshInformation, including mesh statistics, and mesh diagnostics.
- MaterialInformation, including manufacturer information, and material characteristics.
- ProcessInformation, which includes the values set in the Process Settings.
- Result related controls
- You can choose from several options to show result plots:
- OnePlot adds just one result per slide. Select the model orientation, and location on the slide.
- OnePlotFourViews adds four different orientations of the same result plot.
- TwoPlots adds two different result plots to a single slide.
- FourPlots adds up to four different results to a single slide.
- OnePlotWithNotes includes a result plot with plot notes .
- OneAnimation adds one plot AVI animation.
- StopAnimation adds still images of an animation, caught sequentially in time.
- OneHistogram adds a result plot as a histogram.
- OneHistogramOnePlot adds a result plot, and a histogram.
The default script adds result images with all relevant plot components, such as scale, legend, rotation, axis. If you want to show less clutter with the result plot, you can remove some, or all, or these components.
Help
All the components of custom report API are described in the
User's Guide, with examples of how to customize each option.
Find help on the new viewer class Boolean,
SaveImage3, in the
Synergy API help. Click the down arrow next to the
? on the top right of the Synergy window and select
Synergy API Reference from the menu items. This reference defines the parameters and provides you with an example of its use.