How to open the old-style (Java) transient results viewer in HAMMER

Product(s): HAMMER
Version(s): V8i, CONNECT Edition
Area: Output and Reporting


How to access the old-style java-based transient results viewer? (for more customization options, but with a different look-and-feel)


1. Close HAMMER.
2. Open Windows Explorer.
3. Go to the folder below that corresponds to the version of HAMMER you are running.
     For versions 08.11.XX.XX, go to: C:\ProgramData\Bentley\HAMMER\8\
     For versions 10.XX.XX.XX, go to: C:\ProgramData\Bentley\HAMMER\10\
     Note: The folders above apply to Windows Vista, 7, 8, and 10.
4.  Right click on the file named TransientResultsViewerOptions.xml, select "Open with", and choose Notepad.
5.  Read the instructions provided at the top of the file.  Change the UseNewViewer="Yes" line to UseNewViewer="No"  (to always open the old viewer) or change it to "UseNewViewer="Prompt"" (to always ask which style of viewer to use when opening it.) The prompt can be controlled in HAMMER under File > Options > Prompts (button)
 *A copy of this file can be downloaded from this link.

If you encounter an "access denied" error when trying to save the file, try this:

1) From your Start menu, type "Wordpad", then right click on the shortcut and choose "Run as Administrator".
2) Click File > Open, then browse to the location mentioned in the article and open the file (you may need to change the dropdown filter to all file types)
3) You should now be able to save the changes and once you make a choice on the prompt, you should see it listed in the "prompts" button.

Note: more recent versions of HAMMER use the OpenJDK version of Java instead of the Sun/Oracle version.

See Also

Combine, save and export profiles and graphs from the HAMMER transient results viewer