Assign class properties - Intergraph Smart Reference Data - Help - Hexagon

Intergraph Smart Reference Data Help (10.2)

Language
English
Product
Intergraph Smart Reference Data
Search by Category
Help
Smart Materials/Smart Reference Data Version
10.2

In order to access this function, you right-click a class in the classification tree view of the CMS Component Manager. The shortcut menu provides the Manage Properties > Assign Properties command, as shown in the figure below. The shortcut key for the Assign Properties command is F4.

On selection of the above command, the window to assign properties to that class displays the properties already assigned. In this window, you can add, modify, or delete the properties attached to the selected class. This functionality enables you to carry out the following.

  1. Assign a property to the class to define idents in that class.

  2. Assign configuration information so that the display of the property in the Single Ident View can be controlled.

The figure below shows the Assign Properties window.

There are certain properties that are reserved for ident layouts and class layouts. These properties can be attributes only. The values of these properties appear in the Single Ident View as per the defined dimensions (height and width). Details of these properties are given in the table below.

The ident NLS values are a concatenation of the properties along with their respective values. The codes and hint text for these attributes are reserved for CMS functionalities only.

Attribute Code

Reference as Class Property

More Information

CMS_CLS_S

Class Layout (system generated) Short

This attribute specifies the short class layout that is generated by the system when saving the data. The layout is generated as per the class layout definition. For more information about class layout definition, see Associating Layout with Class.

CMS_CLL_S

Class Layout (system generated) Long

This attribute specifies the long class layout that is generated by the system when saving the data. The layout is generated as per the class layout definition.

CMS_CLS_M

Class Layout (manual) Short

This attribute specifies the short class layout that is generated by the system for the first time only when saving the data. After the first time, this layout is subject to manual changes only. The initial layout is generated as per the class layout definition.

CMS_CLL_M

Class Layout (manual) Long

This attribute specifies the long class layout that is generated by the system for the first time only when saving the data. After the first time, this layout is subject to manual changes only. The initial layout is generated as per the class layout definition.

CMS_INS

Ident Description Short

This attribute specifies the ident description short, which is generated as the property code concatenated with the corresponding value / short description. Note that only the tables or attributes that have the Ident NLS check box selected on Attribute Management or Table Management screens are considered.

CMS_INL

Ident Description Long

This attribute specifies the ident description long, which is generated as the property code concatenated with the corresponding value / long description. Note that only the tables or attributes that have the Ident NLS check box selected on Attribute Management or Table Management screens are considered.

In order to assign properties to a class, you must do the following:

  • Path: This read-only field displays the complete path starting from the root up to the selected class in the tree.

  • Compute MAV Col Width: The software can also compute the optimal column width for each property depending on the displayed column label, column short description, and the ident value given for the selected class property. This computational process can be started by clicking this button. The column width for the Ident Code column is also calculated depending on the column label and the idents that belong to the selected class.

Fields in Grid: In order to add or modify an assigned property, values for the following columns are required in the grid.

  • Sequence #: Provides a sequence number for this property as it appears in the first column in the Single Ident View. The properties are displayed as follows: #1 is at the top of the first column, #2 is the second down in the first column, #3 is the third down, and so on. The Multiple Ident View columns are arranged according to the sequence number given in this field. The sequence is automatically set to the highest sequence number + 1 when a new row is added. You can change it to any other value that does not already exist in the grid.

  • Property Type: This field specifies the property type for a particular class, which can be either a Table or an Attribute. The Selection list LOV on this field provides these two options.

  • Table: This field specifies the table to be associated with the selected class as its property. A table can be selected in this column if the property type is Table. Or, once you select a table in this column, the property type is automatically set to Table.

  • Attribute: This field specifies the attribute to be associated with the selected class as its property. An attribute can be selected in this column if the property type is Attribute. Or, once you select an attribute in this column, the property type is automatically set to Attribute.

  • Description: This field is read-only. It specifies either the short description of the table or hint text of the attribute depending on the selection of table or attribute, respectively.

  • Mandatory: Select the check box if it is mandatory that a component of this class have a value for this property, or else leave it unchecked. The global properties inherited by the class are inherited with their mandatory flag also. If you want to reset it, it can be done here but the same will be applicable for the selected class only. For example, if a global property has the mandatory flag set as Y (that is, Yes), it can be set to N for the class by un-checking the check box.

  • Unique Key: You can define a set of logical unique keys (LUK) in this field. A logical unique key can be defined for a single class property or for a set of class properties, which together have a unique value for each component (ident) in the class. Once the grid is set in edit mode, you can specify a class property as a part of the UK, by entering a number in the Unique Key column of the grid. For example, the unique key is represented by the number 1 as the first level unique key and so on. If the same number is entered against more than one class property, that means all those properties together form the unique key.

  • MAV Column Width: This field specifies the width of the column with which the corresponding property will appear in the Multi Ident View. If no value is specified, the software takes the default value for the column width of the property.

  • Attribute Data Type: The data type of the attribute selected as the property. It is filled automatically. The type can be CHAR, NUMBER, DATE, or GRAPHICS.

  • Unit: The unit can be specified here for attributes of data type NUMBER. The unit from the Attribute Management screen is overridden with the unit specified here. This is an optional field. If no unit is specified, the unit from Attribute Management screen is used. This field is read-only for properties of type TABLE and attributes of other data types.

  • Property Data Type: The property data type from Attribute Management screen can be overridden with the data type specified in this field.

  • Data Length: Displays the maximum length for the value possible for the attribute. This field is available only when the grid is in read-only mode.

  • Display Height: Height for the field when this property is displayed in the Single Ident View.

  • Display Width: Width for the field when this property is displayed in the Single Ident View.

  • Data Width: Length of the value for this property.

  • Column#: The column in the Single Ident View in which the property value will be displayed.

  • Group Seq#: The number here represents the sequence in which this property will appear in the group to which this property belongs (Property Group#).

  • Property Group#: All the properties in the class can be grouped. The number here represents the group number in which this property will belong.

  • Target Dimension Column: This field represents the corresponding dimension columns of idents. The ident property values are stored in the corresponding dimension columns of M_IDENTS.

  • S3D Attribute: You can map a Smart 3D attribute to a property by selecting the attribute from the selection list in this field.

    When a Smart 3D attribute is mapped to a CMS property, the mapping is reflected on the Data Table Configuration screen. You can view the Smart 3D attribute and CMS property mapping on the Attributes tab when you select the data table configuration corresponding to the selected class system and the data table corresponding to the selected class.

    The Smart 3D attribute and CMS attribute mapping is created on the Data Table Configuration screen only if the selected class is mapped to a Smart 3D data table.

    Class Attributes

Grid Toolbar Buttons: In order to operate on the data displayed in the grid, you can click one of the buttons provided on the grid toolbar. The main buttons and their operations are as given below:

  • Edit Mode: On click, this will set the grid for edit operation. If you want to add / modify / delete data, click this button first.

  • Read Only Mode: By default, the grid appears in read-only mode. After edit operations are done and you have saved your data, click this button to set the grid again in read-only mode. Please note that when grid is in edit mode, all other controls will be disabled; those controls are enabled again when you turn the grid in read-only mode by clicking this button. Do not close the window when the grid is in edit mode; all the menu options will remain in a locked condition.

  • Add Row: Click this button to add a blank row in the grid to create a new record.

  • Check Grid: Once you are done with your modifications in the grid, you can click this button to evaluate any possible errors in the data before you save.

  • Save: Save the modifications done in the grid data.

    If the unique key setting is ‘Warning’ at the class level, and if data that violates the unique key exists for a property/properties in MAV, the software assigns a unique key to the same property/properties in the class properties grid. The following message is shown upon saving the grid:

    If the unique key setting is ‘Error’ at the class level, and if data that violates the unique key exists for a property/properties in the MAV, the software assigns a unique key to the same property/properties in the class properties grid. The following message is shown upon saving the grid:

    You can create new properties of type Attribute or Table and also Smart 3D attributes on this screen. If any table or attribute or Smart 3D attribute entered does not exist, the following dialog box is displayed on saving the grid.

    Select the properties that need to be created using the check box.

    • Save - Click this button to create new properties.

    • Cancel - Cancels the creation of new data.

  • Selection list LOV: This button will be available only in edit mode when the cursor is in a column that has a selection list associated to it. Click this button to select a valid value for that field.

  • Sort: Click this button to define a sort condition for the grid data.

  • Filter: Click this button to define a filter condition for the data displayed in the grid.

Grid Shortcut Menu: The following options are available when you select a row and click the right mouse button.

  • Copy: Copies the selected row in the grid.

  • Paste: Pastes the row previously selected in the currently selected row.

  • Add Row: Similar to adding a row, this button adds a blank row below the selected row, setting the grid in edit mode if not already set.

  • Delete: Deletes the row selected in the grid.

  • Duplicate Row: Creates a new row copying all values from the current row, and sets the grid in edit mode if not already set.

  • Paste (Transpose): You can select data from an Excel workbook (multiple rows) and paste it into the grid. The data is pasted as properties depending on the selection of type Attribute or Table.

If any property is added to the class, it is automatically added to all of its child classes also.