Record Visualization - Intergraph Smart Materials - Version 10.2 - Administration & Configuration - Hexagon

Intergraph Smart Materials Classic Administration (10.2)

Language
English
Product
Intergraph Smart Materials
Subproduct
Classic
Search by Category
Administration & Configuration
Smart Materials/Smart Reference Data Version
10.2

Users may require different visualization setups of a particular data set depending on the values or conditions of the associated data.

The Visual Attribute functionality enables the user to specify the conditions and corresponding visualization properties that he wants to define as display attributes for the data displayed on a screen. The user specifies a visual attribute rule for a particular screen and block, and defines the conditions of that rule.

  • Record visualization can only be defined for screens with read/write access. Record visualization is not applied to screens in read-only mode.

  • If a hard-coded coloring logic is programmed for a field, you cannot apply your own coloring logic using record visualization. This restriction ensures that important information is visually highlighted and cannot be bypassed by any customization. To find out if a coloring logic is programmed for a field, read the online help for this field.

Record visualization is controlled by the project default ZX_VISUAL. If this project default is set to Y on A.20.12 Project Defaults or A.20.13 Project Discipline Defaults, the defined visual attribute rules are activated in the project or the project discipline.

Use the A.30.14 Visual Attributes screen to define the visual attribute rules.

The first (Application Menu Blocks) block of the screen shows all menu items (screen names) and the related blocks. Click the Enter Query button (F7) and select the screen and block for which you want to define a rule from the List of Values (F9). All screens and their blocks are available for selection. Then click the Run Query button (F8) to display the record.

Now go to the next (Visual Attribute Rules) block. Here you define the visual attribute rules for the selected screen block. In the Rule Name field, type a meaningful name for the rule. In the Item Name field, pick the field to be highlighted from the LOV. If no field is selected, the entire record will appear with the defined background color.

Next, enter a number within the range of 1-99 in the Priority field to prioritize the visual attribute rules, because you can define more than one visual attribute rule with different conditions for the same screen block. The rules are applied as per their priority. The VA Name field provides a drop-down list with a predefined set of visual attributes. The selection from the VA Name list defines the background color to be used when the conditions of the rule are met. The Remarks and Message fields can be used for comments. Only rules with the Active check box selected are considered.

The available visual attribute names are:

  • Blue

  • Green

  • Red

  • White

  • Yellow

  • Gray

  • Orange

  • Pink

  • Black

  • Cyan

The third (Visual Attribute Rule Conditions) block is used to define the conditions for applying the corresponding rule. Select the appropriate values from the LOV in the Block Name and Item Name fields; all blocks and fields on the selected screen are available. Select an operator from the predefined drop-down list in the Operator field and enter the comparison value in the Value1 field. In the case of the ‘Between’ or ‘Not Between’ operators, you must also fill in the Value2 field. Multiple conditions can be combined using the join conditions AND or OR. Only conditions with the Active check box selected are considered.

The comparison of the values in the Value1 and Value2 fields is either a character comparison or a date comparison. The date comparison is done only for those values that are entered between ‘[’ and ‘]’. For example, if you need to compare a field value with the date ‘01-JAN-2010’, then enter [01-JAN-2010]. You can also use expressions like [SYSDATE] or [SYSDATE-10] for date comparisons. All other values that are not entered between ‘[’ and ‘]’ are treated as character comparisons. With the ‘Like’ or ‘Not Like’ operators, you can use the wildcards _ (underscore, as a placeholder for exactly one character) or % (percent, as a placeholder for multiple characters).

The available operators are:

  • Equal

  • Not Equal

  • Greater Than

  • Greater Than or Equal

  • Between

  • Not Between

  • Like

  • Not Like

  • NULL

  • NOT NULL

  • Less Than

  • Less Than or Equal

To copy existing rules including conditions from other projects, use the Copy Values button. The software opens Window 2 where you can specify to copy only the current menu or all menus, and the project to copy from.

The pictures below show a simple example.

The rules are defined for the NLS block of the A.10.01 Languages screen. The result is shown below.

From each screen in Smart Materials, you can check the valid settings that are relevant for the particular screen. Use the Valid Settings button on the toolbar to call the A.60.63 Valid Settings screen.

The VAs tab shows the visual attribute rules defined for the current form on A.30.14. The displayed rules are only active when the project default ZX_VISUAL is set to Y.