How to change Check-Mate result font appeared in popup Check-Mate window
2021-10-06T23:27:58Z
Summary
Details
I hope to unify the type of text font displayed in popup Check-Mate results. In case of "Filter Level"="Test" as the "Settings" in Check-Mate, Some of the text are displayed in standard, but others are displayed as Italic.
Step to reproduce:
1. Open a part in NX 2. Go to HD3D > Check-Mate 3. Run Check-Mate test
Solution
The font is designed as customizable. The Check-Mate result (Info View) dialog is an html viewer, and Check-Mate supports users to customize it thru template file.
1. Setting for the customized directory location The customer could put customized templates in a folder, and set it to Customer Defaults > Analysis > Check-Mate > HD3D > User XML/HTML Template Files Directory. For example, ~\customize\checkmate\english 2. Change .html The default templates are located in %UGII_BASE_DIR%\design_tools\checkmate\customization\. Therefore copy the "hd_test_infoview_template.html" to the user folder, and make modifications for your need. For example, if you want to "Test Result Message" be Italic, just add the "<em>" and "</em>" to the lines:
<th class="left"><b>Test Result Message</b></th> <td class="left"><pre><em>${KeyTestResultMessage}</em></pre></td></tr>
3. Prep for two folders for the images and styles Copy two folders "css" and "images" from %UGII_BASE_DIR%\design_tools\checkmate\customization\ to the user folder. The "css" and "images" folders are to make sure the images and styles are shown correctly, so the page looks nice.
For example, the user folder should look like below( under ~\custom\checkmate\).4. NX restart is needed
Notes and References
For other filter level (other than "Test" as the "Settings"):
Above ("hd_test_infoview_template.html") is for "Filter Level" = "Test". However, you can also modify the fonts for "Part" or "Object" as well if you hope to change.
3 kinds of Filter Level: HD3D Tool/Check-Mate window- Settings: For more details of templates usage, please see the 2 guides in the same folder(%UGII_BASE_DIR%\DESIGN_TOOLS\checkmate\customization):
- template_guide.html - guide.html
Hardware/Software Configuration
Platform: INTL64 OS: windows OS Version: 1064 Product: NX Application: GATEWAY Version: V11.0.2 Function: VISUALREPORTING