### Importing a Tutor Program

You can import part programs created by the Tutor application.

To import a Tutor file,

1. Open the part program in PC-DMIS into which you are going to import the Tutor program file.

2. Select the File | Import | Tutor... menu option. An Open dialog box will appear.

3. Navigate through the available directories until you find the directory containing the desired tutor file and select that file from the list.

4. Click the Import button. The Tutor translator begins the translation process, and the TutorPCDMIS Translator Options dialog box appears. This dialog box allows you to determine how items in the tutor file should be interpreted or displayed inside PC-DMIS.

TutorPCDmis Translator Options dialog box

6. Fill out the dialog box as needed. The following areas are available:

PC-DMIS Part Program Settings area

These options come from PC-DMIS and cannot be modified.

Units This shows the units of measurement (either Inch or Metric) of the PC-DMIS part program you are using to import the Tutor file. Unlike Tutor for Windows, PC-DMIS doesnt allow you to change measurement units at execution time.

Angle Mode This shows how angles are currently displayed (either Deg or DMS) in the PC-DMIS part program.

Tutor for Window Settings area

These options allow you to specify Tutor for Windows settings needed for a proper Tutor to PC-DMIS translation.

Read Wtutor.Ini Click this button if you need to specify where the Tutor configuration (.ini) is located. By default, when translation starts, PC-DMIS searches for this configuration file in the C:\Winnt directory. This file contains Tutor for Windows configurations needed by the translator.

Position Error Select Radius if the importing part program requires the Position error evaluated as radius, Select Diameter otherwise.

Form Error Select Double if the importing part program requires the Double Form error or select Single otherwise.

Linearity Error Select Radius if the importing part program requires the Linearity error evaluated as radius, select Diameter otherwise.

Tutor PC-DMIS Probes mapping area

This area allows you to map a Tutor probe to a PC-DMIS probe.

Tip Diameter Type the default tip diameter for the probe that PC-DMIS will use in the part program.

Probe File Use the button to choose a PC-DMIS probe file (.PRB) to use.

ProbeMap File Use the button to choose an existing Tutor to PC-DMIS probe map file (.TP2). If you don't have a probe map file, you can create one by clicking the New button. The Edit button allows you to change the currently selected probe map file listed in this box. This map file allows you to tell the translator what PC-DMIS tip angles it should use when translating probe commands from the Tutor file into PC-DMIS.

Skip Comments Select this check box if you don't want to import programmer comments found in the Tutor file.

7. Click the OK button to continue. PC-DMIS displays the import process inside the Translation in progress window, displaying any warning messages inside the Translation messages list.

8. Follow any on-screen instructions.

9. When translation ends, the Translation in progress window allows you to inspect the messages in the Translation message list. You can then decide to continue (click Continue) or abort (click Abort) the import process. Whatever you choose, all translation messages are stored in a log file with the same name as the Tutor part program with a .log extension, stored in the same directory as the Tutor part program.

Note: The TutorPCDmis Translator Options dialog box appears every time PC-DMIS encounters a load probe command from the Tutor file. If you have correctly set up your probe map file, you can safely skip the translation of the current load probe command by clicking the Ignore button.

More:

Creating and Editing Tutor to PC-DMIS Probe Map Files