Applies To | |||
Product(s): | gINT Logs, gINT Professional, gINT Professional Plus | ||
Version(s): | N/A | ||
Environment: | N/A | ||
Area: | Report-Log | ||
Subarea: | |||
Original Author: | Kathleen Holcomb, Bentley Technical Support Group | ||
A variable legend entity creates a legend displaying the material, sampler, well or other symbols in use in a single log. This is a useful visual aid on a report. The legend is called variable because the set of symbol boxes that appears will vary from log to log depending on which symbols are in use.
Note: This exercise requires the use of training.GPJ project and training.GLB library available from: download.aspx. Instructions for unzipping and setting up these files is on: using gint downloaded examples.aspx.
Ensure that the current library is training.glb.
Go to REPORT DESIGN->Logs. In the object selector select SIMPLE LOG (or FINAL SIMPLE LOG if SIMPLE LOG is missing or incomplete).
Select File->Copy Page. Enter the following, then click OK:
Field | Value |
Page Name to Copy To | SIMPLE LOG WITH LEGEND |
Set Current Page To | First in Copy To List |
We need to create a footer for the legend, and shorten the body height (where column entities reside) to make room for the footer. Click the Properties icon, then select the Report Structuretab. Enter the following:
Field | Value |
Page 1 Body Height | 7.5 |
Page 1 Footer Height | 0.5 |
We only make these changes for Page 1. On subsequent pages the legend will not appear.
Select the Columns and Lines tab. Check the Bottom of Body checkbox.
Click OK to close the Properties window.
Select Log->Variable Legend. The VARIABLE LEGEND PROPERTIES window appears.
Enter the following in the Main tab:
Field | Value | Comments |
Field with Data | <<SAMPLE.Type>> | The field containing symbol names. Its values determine which symbol graphics print. Use the Data Tool. |
Symbol Type | Sampler Graphics | Determines which kind of symbol is displayed in the legend. |
Number of Rows | 1 | One row of symbols will appear in the legend (we have limited vertical space, and there will be few sample graphics per log). |
Row Spacing | 0.1 | Ignored in a 1-row legend. |
No. of Columns | 5 | Maximum number of columns of symbols displayed. Note that num_of_columns x column_spacing should be the width of the report body, 6" in this case. |
Column Spacing | 1.2 | Distance from the start of one symbol to the start of the next. Can also be thought of as column width. |
Rectangle Height | 0.4 | Rectangle height of each symbol. |
Rectangle Width | 0.15 | |
Gap Between Descriptions and Rectangles | 0.05 | Distance from the right edge of each rectangle to the left edge of its description. |
Text Height | 0.08 | Character size of description text. |
X | 0.05 | X coordinate of legend alignment point (which is at upper left corner of legend) |
Y | 0.45 | Y coordinate of alignment point. |
Go to the Configuration tab. Enter the following:
Field |
Value |
Comments |
Output Condition |
<<Pg>>=1 |
Restricts display of the legend entity to page 1. Use the Data Tool (right half) to paste the Pg system data item. |
Go to the Symbol Descriptions tab. Enter the following:
Field |
Value |
Comments |
Name and/or Description |
Description |
Specifies what (from the Symbol record) will appear next to each symbol. |
Click OK. The variable legend entity is added to the report.
Go to OUTPUT, select training.gpj and preview the report.
Notice the legend at the bottom.
Close the preview.
Variable Graphic Legend Showing All Material Graphics Used on a Fence:
Variable Graphic Legend Showing All Material and Sampler Graphics Used in a Project: communities.bentley.com/.../12419.variable-graphic-legend-showing-all-material-and-sampler-graphics-used-in-a-project.aspx