#### Exporting Markings for Feature Based Measurements

The Edit | Markings | Export Feature Based Measurements
menu item displays the Execute Feature Based Measurement dialog box. This dialog displays all the feature and dimension commands in your part program, allowing you to easily create groups of features that when selected will be marked in the Edit window. Additionally, If desired, you can immediately measure any marked features when you click OK. See "Marking Commands for Execution" for more information on marking commands.

Important: Do no confuse the different group lists in this dialog box with the groups of commands in the Working with User-Defined Groups topic in the "Using the Edit Window" section. No commands are added into to the Edit window while using this dialog box.

Execute Feature Based Measurement dialog box

The dialog box contains three main lists from left to right:

- Groups: This list shows any marking groups you've created. A marking group contains one or more features that will be marked if that group is selected. Initially, this list is empty. You can add or remove groups by using the Add and Remove buttons respectively.

- Commands in group: This list contains all the features and dimensions in your part program. To assign a feature or dimension to a marking group, select the marking group from the Groups list, and then mark the check box next to the feature in the Commands in group list. If your part program has any user-defined groups, you can add the entire group of items to the marking group by marking the check box.

- Commands to be marked: This read-only list shows all the features in your part program. A check mark next to an item means that item will be marked if the OK or Apply button is clicked.

The dialog contains these other items:

- Add - This adds a new empty marking group into the Group list called "GROUPID". You can rename any group by selecting it from the list and clicking on its name again.

- Remove - This removes the marking group from the Group list.

- Expand All - This expands any user-defined groups in the Commands in group list.

- Measure - This check box, if marked, immediately measures any marked features in the Commands to be marked list when you click the OK button. If cleared, the features are only marked.

- Export - This exports your marking groups to an XML file and location you choose.

- Import - This imports additional marking groups stored in an XML file into this dialog box.

- OK - This applies the markings in the Commands to be marked list to the Edit window; if Measure is marked, it closes the dialog box and executes the marked features.

- Apply - Like the OK button, this also applies markings to the Edit window based on the Commands to be marked list. However, the dialog box will not close until you click OK or Cancel.

- Cancel - This closes the dialog box without applying any markings or performing any executions.