Editing of semantics classifier |
List button serves for work with semantics of Classifier code type. The classifier of semantics represents the list where conformity of numerical values to character strings is specified. The user can assign a numeric code, a character key, a short and a long name that corresponds to this code. By pressing List the Classifier dialog is appeared. In this dialog it is possible to correct semantics classifier, to add or delete lines of the classifier. To add a new line, click on the Add button or, standing on last line, press arrow the down. Transition from a field to a field occurs by Tabulation, on Enter, or by clicking the mouse in the desired field. It is possible to sort the list by the desired fields by clicking on the column header. For deleting string choose necessary string in the list and press Delete button. To save values of the semantics classifier press Save button. Thus the changed classifier of semantics will be written down onto the disk. By pressing Undo button, the list will be closed with cancellation of all changes.
The list of semantics classifier can be exported to a text file, it is possible to load it from a text file. The list of semantics classifier can be exported to a text file, it is possible to load it from a text file. Each line of the text file must contain 4 fields separated by a separator (usually the sign ";"): 1 - numerical value from 0 up to 32656; 2 - short name by length from 1 up to 31 symbols; 3 - a key by length from 1 up to 63 symbols; 4 - full name by length from 1 up to 31 symbols. Field 2 (the short name) is used in vector symbols for displaying title on semantics. The user can choose a separator from the list "Fields separator". File example:
1; БЕТ; CONCRETE; Concrete 2; ЖБ; FERROCONCRETE; Ferroconcrete 3; МЕТ; IRON; Metal 4; КАМ; STONE; Stone 6; ЗЕМ; EARTHEN; Earthen
The program processes files in encoding ANSI and UTF-8. In the presence of a file in encoding UNICODE (UTF-16) it is necessary to open a file in the Notepad (MS Windows) and to save a file in format UTF-8 (File - Save as - Encoding "UTF-8").
|