Specify class layout - Intergraph Smart Reference Data - 2020 (10.0) - Help - Hexagon

Intergraph Smart Reference Data Plus Help (2020)

Language
English
Product
Intergraph Smart Reference Data
Search by Category
Help
Smart Materials/Smart Reference Data Version
2020 (10.0)

Once you select the Class Layout command from the menu, the dialog box shown below appears for you to provide the required inputs.

Short and long layouts can be of two types:

  • System-generated - Cannot be modified. These layouts are generated when saving the data.

  • Manual - Initially the same as system-generated, but you can change it in the CMS Single Ident View. For more information, see Single Ident View.

  • Path: This is a read-only field and automatically displays the complete path starting from the root up to the parent node (the selected node) in the tree whose layout will be added.

  • NLS: This is a list of all the languages available in the software. You can select the language for the class layout. A separate layout of the same class can be specified for separate languages.

  • Short Layout: Provides the short layout of the class for the specified language. You can use the corresponding button in order to select the properties that are associated with the class. Alternatively, you can select one or more properties (in the Properties block) and then drag and drop them into the Short Layout field. You can include one or more properties in the layout. Note that each property code must be enclosed with #…_short#. Later, while generating the actual layout of each ident, the property’s actual value (specified in the Multiple Ident View) is used.

  • Long Layout: This field specifies the long layout of the class. This layout can be specified in a similar manner to the short layout (described above). The only mandatory difference is that each property code must be enclosed with #…_long#.

  • Drag-Drop Options: You can select an option here before dragging and dropping any property type. These options are used to change the enclosing text for the property selected, when dragging and dropping. The convention that one property is used only once in the layout still holds. The options are as follows.

    • Default: When this option is selected, for all property types, the short and long layout are enclosed with #…_short# and #..._long#, respectively. This option is the mandatory (and default) option for the short and long layouts.

    • Description: When this option is selected, for the property type ‘Attribute’, the short and long layouts are enclosed with #…_desc#, as this option is specific to an attribute property type. The ident property NLS value (of the attribute) is used when generating the layout. For all other property types, the short and long layouts are enclosed with #...# (for example, #PropertyName#).

    • All Table Attributes: This option includes all the attribute values of the table detail, as this option is specific to the property type Table. These attribute values include AttrChar1, AttrChar2, AttrChar3, AttrNum1, AttrNum2, and AttrNum3 of the table detail. When this option is selected, for the property type Table, the short and long layouts are enclosed with #…attrchar1#, #…attrchar2#, #…attrchar3#, #…attrnum1#, #…attrnum2#, #…attrnum3#, and these six values are added at one time. For all other property types, the short and long layouts are enclosed with #...# (for example, #PropertyName#).

    • AttrChar1, AttrChar2, AttrChar3, AttrNum1, AttrNum2, AttrNum3: These values are the individual values in the All Table Attributes option. Because these are specific to the ‘Table’ property type, when any of these options are selected, the short and long layout are enclosed with # at the beginning and _corresponding table attribute option name# (like _attrnum1#) at the end. For example, if the AttrChar1 option is selected, #…_attrchar1#, is used. For all other property types, the short and long layouts are enclosed with #... # (for example, #PropertyName#).

      Properties: All the properties, both attributes and the tables associated with this class, are available, and you can drag and drop to generate the short and long layouts (system generated). In addition, the OTHER property type contains the group, part, commodity code, ident, class system, and class corresponding to the ident. The class path (a ‘\’ separated class (code) path) of the corresponding ident layout is also available.

The Table Detail Short Desc and Description and Commodity Symbol Short Desc and Description are used in generating the class layout. Any change in the descriptions is automatically reflected in the generated class layouts. You can also limit the number of characters (of the corresponding ident values) that appear in the class layout. To do so, you must enclose the number of characters to be displayed with # …#d#. This is shown in the following example. For properties of type table, you can also specify only the table name within #. Such tokens are replaced by the table detail code.

Command Buttons

  • OK: After supplying the proper data in NLS, Short and Long Layout for the class, click this button to associate the layouts with the class. On clicking this option, the software issues the following alert.

    If you click Yes, the software saves the layout and also updates / generates the layouts of all the idents that are associated with the class. If you click No, only the layout is stored but the layouts for the associated idents are not updated / generated. On successful completion, the software will display a success message and the dialog box will close.

    • The layout of the ident is also updated / generated when the associated table detail is changed or the ident property value is changed.

    • The short and long class layouts (system) are generated according to the corresponding culture for the NLS. If there are no cultures associated with the NLS on XA60 Map Languages, the logged-in culture is used in class layout generation.

    • The generated layouts of each ident in a class can be viewed in the Single Article View (SAV) using the attributes that are reserved for CMS, like CMS_CLS_S, CMS_CLL_S, CMS_CLS_M, CMS_CLL_M, CMS_INS, and CMS_INL. These generated values corresponding to the logged-in NLS are displayed in the SAV and are independent of the regional settings in the Control Panel.

  • Cancel: Closes the dialog box, canceling the operation.