|
Editing BOM item text filled by a template |
Scroll |
If in any column of the BOM item, the text represents a set of fields (i.e., created By template or by using the the automatic splitting of the entered string into fields), during the editing mode of its text part, the Parameters panel displays the Fill template field and a table with a list of template fields, which shows the field names, their values, and keys (see figure).
|
Editing the BOM item "Bolt" with a text part filled using a template:
Part of the template fields are excluded; fields are displayed in key order in the Parameter Panel.
In the table, you can modify the data in the template fields, i.e., the segments that make up the text part of the BOM item. To change the content of a field, enter the required characters in the Value cell of the corresponding row and press the <Enter> key. After that, the text of the object will be automatically regenerated and displayed in the Fill template field and in the BOM table.
In addition to editing data in the template fields, the following options are available:
•Changing the field order, i.e., transitioning from the arrangement of fields in the usual order to the arrangement in ascending order of keys and back.
The key is a field attribute indicating the order in which the fields should be considered when sorting BOM objects. Sorting is first performed by the field with the smallest key, then by the field with the next key, and so on. Fields with zero keys are not used in sorting. For more details on sorting objects created based on templates...
To change the order of fields, use the Show fields in key order command in the Fill template field menu, see the image above. If the command is ticked, the template fields are arranged in the order of increasing their keys — both in the table with the list of fields and in the Fill template field. This makes the sorting of objects filled according to the same template more intuitive and comprehensible.
The display of the item in the BOM table is not affected by the Show fields in key order command: fields in the text part of the item are always displayed in the regular order.
•Inclusion/exclusion of fields (available for specification objects, created by template)
If required, some fields can be excluded from text generated using templates and from item sorting. To do this, enable the option in the Exclude cell of the corresponding row. After this, the background of the cell Value will turn grey, and the words Excluded field will be added to its content.
The content of the excluded field is not shown either in the text part of the BOM object or in the field Fill template. Moreover, this field is excluded from sorting, meaning if the field key was non-zero prior to exclusion, it is considered zero after exclusion. To include the field again in the text and sorting, disable its Exclude option.
When editing BOM items received automatic splitting of the string into fields, the Exclude column in the template fields table on the Parameter Toolbar is missing.
•Field key changes (available for specification objects, obtained) automatically split the string into fields)
When creating an object by splitting a string into fields, the template is not used: the text part entered from the keyboard is automatically divided into fields, and keys are assigned to the fields. If default keys do not provide correct sorting of items, you can modify them manually.
To edit the field key, enter a new value in the field key of the corresponding row and press the <Enter> key.
For BOM items, created by template, as well as corresponding elements that are inserted from applications, field keys are displayed in the table but cannot be edited.
•Input of arbitrary text and return to template filling
The text part of the BOM item can be edited without changing the values in the fields of its template. To do this, you need to enter and delete data directly in the BOM table cell in the text part editing mode. The values in the template fields table and the text in the Fill template field on the Parameter Panel remain unchanged.
To cancel manual editing of the text part, i.e., to replace the current text in the BOM table cell with the text from the Fill Template field, you need to click the Transfer text to BOM object
button on the Parameters Panel.
Any editing of the values in the template fields automatically replaces the entire text in the cell with the text composed of the template fields.
|
Note the following features of specification objects, the text of which consists of separate fields: •If the object filled according to the template, the text displayed in the specification table may differ from the actual content of the fields. This situation arises when editing the text directly in a cell of the BOM table. After such editing, the order of items might become incorrect, as sorting only considers data in the template fields. •If the object is created by automatic splitting of the string into fields, its text always corresponds to the fields: after editing the text in the cell of the BOM table and confirming the creation of the item, the new string entered is parsed into fields again, i.e., the set and/or content of the fields change. Thus, the described above return of the text part of the object to the template filling is possible only before the completion of editing this object. |