#### Using the Importing Dialog Box

Importing dialog box for selected ASCII file

The Importing dialog box allows you to create, edit, add, or delete rule sets that can be used to evaluate your ASCII file. The selected rule set determines which information will be imported into your part program. Use the following options to select and apply rules for parsing your ASCII file.

Create - Opens Step 1 of the Rule Set Wizard. See "Step 1: Creating a Rule Set". Values of the selected Rule Set will be displayed, but if no Rule Set is selected, then no values will be displayed.

Edit - Allows you to edit the rule set selected from the Rule Set List.

Add - Browses via an Open dialog box to allow you to select a preexisting rule set. The rule set file will be copied into the designated rule file directory and a new entry will be displayed in the list box

Delete - Removes the selected rule set from the Rule Set List.

Set as default - Set the default rule set that will highlighted from the Rule Set List. This rule set will be used unless another rule set is selected. If no rule set is newly selected, the last used rule set is set as the default and is highlighted in the list box. The next time that you import an ASCII file the default rule set is highlighted.

Import to Part Program - The opened ASCII file is imported into the current part program:

- Directly - Imports the ASCII file using the selected rule set without using the Rule Set Wizard.

- By wizard - Opens Step 1 of the Rule Set Wizard. When you click finish on Step 3, the file will be imported using any newly specified rules.

If matching IDs are detected during the import process, a small dialog box will appear asking if unique IDs should be used.
Clicking Yes will add an underscore and a number to the feature ID to make it unique. So, if PNT1 was a duplicate, this would be changed to PNT1_1. If there was another PNT1, it would be renamed to PNT1_2 and so on.
Clicking No will import the duplicate feature as a new feature but with the same feature ID.

Update Existing Feature in Part Program - Lets you update existing features with the imported data.

- If this check box is marked, the import process will check the current part program's existing feature names and will attempt to update matching features with the information contained in the ASCII file. If you have more than one feature in the part program with the same ID, only the top-most feature in the part program will get updated.

- If this check box is cleared, the import process will instead import all features as new features even if matching IDs exist.

Cancel - Aborts the ASCII Import process

All rule set files are stored in the same directory designated by the GP. The directory is named "AscImportRules", where the rule set files are named "*.ascimportrule".