Editing Part Materials and Coefficients

Part materials and coefficients for temperature compensation are stored in a MaterialCoefficients.xml file. You can find this file in your system's hidden data path (where your computer stores program data files). For more information about file locations, see "Understanding File Locations" in the "Setting Your Preferences" chapter.

You can use the Material Coefficients Editor to modify this .xml file. After you make any changes, you must reopen the Temperature Compensation Setup dialog box or Advanced Temperature Compensation dialog box to see any changes that you made to the file.

All coefficient values must include a decimal point. The Material Coefficients Editor displays a message about a wrong input if you don't include a decimal.

To use the Material Coefficients Editor, run the MaterialCoefficientsEditor.exe utility. This utility is located in the folder where you installed PC-DMIS.

Material Coefficients Editor

This editor lists the materials and their corresponding coefficients. It also provides buttons for you to edit the materials and values.

For the Material Coefficients Editor dialog box, the entered values are evaluated to n X 10-6.

For example, iron has a coefficient of 11.3 in the example above. The software would evaluate this to 0.0000113.

For the NewCoefficient dialog box (see the Edit option below), you must enter temperature values in Celsius units.

This is very important when you edit an existing material coefficient value or add a new one.

 

PC-DMIS Version - This list defines the PC-DMIS version that is affected by the changes you make; it lists the versions of PC-DMIS that you have installed. Select a version from this list to pull in that version's materials and coefficients.

Edit - This button enables you to edit a selected material. It displays the NewCoefficient dialog box, where you can edit the material name or its coefficient value.

Add - This button enables you to add a new material and coefficient to the list. It displays the Add Coefficient dialog box, which is similar to the NewCoefficient dialog box discussed for the Edit button.

Delete - This button removes the selected row from the list of materials.

Close - This button closes the editor and displays a message that asks if you want to save your changes. To make the change to the .xml file, click Yes. To close it without saving any changes, click No, or select the red X at the top right of the editor to close the editor.