### Step 3: Feature Type Mapping and Field Assignment

This step allows you map Feature Types to the features in your ASCII file. Additionally you can assign the field names to the delimited columns.

Rule Set Wizard - Step 3

Feature Type - Select the checkbox(es) of the feature type(s) that are to be imported. All of the available feature types are provided in the Feature Type list.

To map the feature type name:

1. Select the feature type to highlight the line.

2. Click in the list box under the heading "In ASCII file" on the same highlighted line.

3. Type the feature type name exactly as it appears in the ASCII file in the edit box. For example, the circle feature type name is "FEAT/CIRCLE" the example shown above.

Note: Without a feature type name defined in the ASCII file, there is NO way to differentiate which feature is point, circle, etc. if there are multiple feature types in the file. However, if there is only one feature type in the ASCII file, it is not necessary that the feature type name exists in the file, so the user does not have to specify it. The user just needs to check the check box to the left of the feature type and GP will apply that feature type to all of the lines in the ASCII file.

Feature Fields - The available fields for the selected Feature Type are displayed for assignment. Each field represents a valid PC-DMIS value for the selected feature type.

To assign a feature fields to the columns of the ASCII file:

1. Select a Feature Type.

2. Select the needed field name(s) from the Field List. To select consecutive fields, click the first item, press and hold down SHIFT, and then click the last item. To select nonconsecutive fields, press and hold down CTRL, and then click each item.

3. Click Add to add the field name to the list box on the right.

Note: You may also ADD or REMOVE fields by double-clicking the item in the Field List or the list box on the right.

4. Use the UP and DOWN arrows to ensure that the field values appear in the order that the corresponding values appear in the ASCII file.

5. Select any unneeded field(s) from the list on the right and click Remove to remove that field name(s). To select consecutive fields, click the first item, press and hold down SHIFT, and then click the last item. To select nonconsecutive fields, press and hold down CTRL, and then click each item.

Note: PC-DMIS may not accept certain fields in the ASCII file that may be proprietary to a third-party CMM system provider's software. For such a field, the user can add the field called “Skip” to inform the GP to skip the column that contains this field.

Preview and Refresh - See the "Previewing the ASCII File" topic.

Back - Returns to Step 2.

Finish - This button will function according to how the Rule Set Wizard was started.

- Create - The Create new rule set dialog box is opened. Provide the name of the new rule set in the Rule Set Name box.

- Edit - The Rule Set Wizard is closed and any changes are applied to the rule set file.

- Import to Part Program (By wizard) - The rule set is applied and the parsed ASCII file is imported into PC-DMIS as an Inspection Plan. If any changes have been made to the rule set, then you will also be prompted to save your changes.

Cancel - Returns to the Importing dialog box.