Viewing Reports

In this section you will Learn more about importing and viewing Reports.

Exporting Adams PostProcessor Data as an HTML Report

You can export the following Adams PostProcessor data in the current session of Adams PostProcessor as an HTML report for viewing by others in your organization:
Information on the parts, constraints, forces, and more in the selected models. This is the same information that appears when you select Info.
Plots and animations as .png or .jpg images.
Movies of animations.
The result is a series of HTML pages, images, and style sheets, including a main homepage. See Export - HTML Report for more information.

To export data as an HTML report:

1. From the File menu, point to Export, and then select HTML Report.
The Export Dialog Box appears.
2. Under the Files tab, enter the name you want applied to each of the resulting HTML files and style sheets, and enter where you want the resulting HTML files and folders to be stored.
3. Under the Title Page tab, enter the title, author, date, and any comments you want displayed on the title page. The title page appears when you first display the homepage. You can also enter an image to appear in the upper right corner of the title page. The image can be of any format that you can display in a Web browser (such as .gif, .jpg, .png).
4. Under the Pages tab, enter the following:
Options for Pages Tab
 
To:
Do the following:
Pages
Select the pages of plots and animations you want exported. If you select Range, enter the pages you want included.
Image Format
Enter the image format in which to store the pages of plots. You can select png or jpg.
Image Width and Height
Enter the pixel size of the exported pages. By default, Adams PostProcessor maintains the aspect ratio of the images so if you enter a value for width, Adams PostProcessor automatically calculates the height based on the current aspect ratio, and the reverse. See Maintain Aspect Ratio below.
If you leave both text boxes blank, Adams PostProcessor uses their default size in Adams PostProcessor.
Maintain Aspect Ratio
Clear to change the proportions of the page sizes, and then enter new values for Image Width and Height (see above).
Export Animations
Select to export the animations as a movie. Clear to just save an image of the first frame of the animation in the same format selected in Image Format.
Movie Format
Select the type of movie to export the animation as. You can select: Compressed .avi, Uncompressed .avi, .jpg, .mpg, and .png (AVI format is only available on Windows).
If you select .jpg or .png, Adams Processor, exports each frame as an png or jpg file, and then plays them as a movie.
If you select compressed AVI format, set the frame rate, interval between key frames, and quality (percentage of compression). The default is 75% compression with each key frame 500 frames apart, and a frame rate of 10 seconds per frame.
If you select .mpg, set options to be able to play the movie in many playback programs. For more on these options, see Recording Animations.
5. Under the Models tab, select the models for which you want to export information about their objects.
6. Select OK.
Adams PostProcessor begins creating the exported data. If you selected to export an animation, you see the animation being recorded.

To display the results of the export:

1. In a Web browser, change to the folder containing the results of the export.
2. Select the file with the same name as that you entered in the Files tab. For example, if you entered suspension_1, select suspension_1.htm.

Loading Reports

You can load simple HTML and ASCII reports into Adams PostProcessor.

To import a report:

1. From the File menu, point to Import, and then select Report.
2. Enter the name of the file to import.
3. Select OK.

To load a report in a viewport:

Right-click the background of a viewport, and then select Load Report.

Modifying Report Properties

After you import a reports, you can change the source file associated with the report and the font point size associated with the HTML logical font point size 3 (HTML logical font point sizes are from 1 to 7; they define font point sizes relative to one another; not in absolute values). All other font point sizes are scaled accordingly. For example, if you set the report font point size to 10 points, then logical font size 3 is 10; font size 2 is 8 points; and so on.

To modify report properties:

1. Select a report.
2. In the Property Editor, in the File Name text box, change the source file for report.
3. In the Font Size text box, enter the size for logical font size 3.

Updating Reports

You can update reports just as you update the results of simulations using the Recycle button and Replace Simulations command. They check the dates of the report files on disk and reload them if the file date has changed. Learn about Updating Plot Data.
HTML Tags Supported in Reports
Adams PostProcessor supports only a subset of all HTML tags and does not support links. The following tables show the HTML tags that Adams PostProcessor supports:
Structuring Tags Supported
 
The tag:
Represents:
<h1>...</h1>
Top-level heading.
<h2>...</h2>
Sub-level heading.
<h3>...</h3>
Sub-sub-level heading.
<p>...</p>
Left-aligned paragraph. Adjust the alignment with the align attribute. Possible values are left, right and center.
<center>...</center>
Centered paragraph.
<blockquote>...</blockquote>
Indented paragraph.
<ul>...</ul>
Unordered list.
<ol>...</ol>
Ordered list. You can also define the enumeration label using the type attribute. The default is type="1"; other types are "a" and "A".
<li>...</li>
List item.
<pre>...</pre>
Leaves the information as is with no formatting. Preserves white spaces in the content.
Character Tags Supported
 
The tag:
Represents:
<em>...</em>
Emphasized.
<strong>...</strong>
Strong.
<i>...</i>
Italic font style.
<b>...</b>
Bold font style.
<u>...</u>
Underlined font style.
<big>...</big>
Larger font size.
<small>...</small>
Smaller font size.
<code>...</code>
Indicates code.
<tt>...</tt>
Typewriter font style.
<font>...</font>
Information on fonts, including color, size, and type (face). The tag understands the following attributes:
color - The text color, for example: color="#FF0000"
size - The logical size of the font. Logical sizes 1 to 7 are supported. The value can either be absolute (for example, size=3) or relative (size=-2).
face - The family of the font, for example: face=times
Special Tags Supported
 
The tag:
Represents:
<img>
An image. The image name is given in the source attribute, for example: <img src="qt.xpm" /> The image tag also understands the attributes width and height, which determine the size of the image.
<hr>
Horizontal line.
<br>
Line break.
<nobr>...</nobr>
No break.
 
Table Tags Supported
 
The tag:
Represents:
<table>...</table>
A table definition. Other attributes are:
bgcolor - Background color.
width - Table width. Can be a percentage or actual number of pixels.
border - Width of the table border.
cellspacing - Additional space around the table cells.
cellpadding - Additional space around the contents of table cells.
<tr>...</tr>
A table row that can only be used within table. It has the attribute:
bgcolor - Background color.
<td>...</td>
A table data cell with the following attributes:
bgcolor - Background color.
width - Cell width. Can be a percentage or actual number of pixels.
colspan - How many columns this cell spans.
rowspan - How many rows this cell spans.
align - Alignment.
<th>...</th>
Table header cell.