#### Dimensioning a Variable Example

Suppose that you have these variables and you wanted to create a Location dimension using them:

ASSIGN/V_THEOX = 10

ASSIGN/V_THEOY = 5

ASSIGN/V_THEOZ = 1

ASSIGN/V_MEASX = 10.008

ASSIGN/V_MEASY = 5.035

ASSIGN/V_MEASZ = 0.997

Note: For ease of use, this example gives the variables constant values. In real life application, your variables will most likely have dynamic values that change based on user input or from other external sources.

To dimension these variables:

1. Create a generic feature by selecting the Insert | Feature | Generic menu option. The Construct Generic Feature dialog box appears.

2. Select the Point option.

3. Select the Measured Values option and type zero values into the X, Y, and Z boxes, then select Nominal Values and do the same thing.

4. Click OK. PC-DMIS will insert an empty Generic Feature (usually labeled F1 if it's your first Generic Feature) into the Edit window.

5. Place the Edit window in Command mode and you will see this:

F1 =GENERIC/POINT,DEPENDENT,RECT ,$

NOM/XYZ,0,0,0,$

MEAS/XYZ,0,0,0,$

NOM/IJK,0,0,1,$

MEAS/IJK,0,0,1

6. Now navigate to the line NOM/XYZ, and in the first three zero fields, type V_THEOX, V_THEOY, and V_THEOZ respectively. These are your nominal variables.

7. Do the same thing on the MEAS/XYZ line, except type V_MEASX, V_MEASY, and VMEASZ into the three zero fields of that line. Your command should now look like this:

F1 =GENERIC/POINT,DEPENDENT,RECT,$

NOM/XYZ,V_THEOX,V_THEOY,V_THEOZ,$

MEAS/XYZ,V_MEASX,V_MEASY,V_MEASZ,$

NOM/IJK,0,0,1,$

MEAS/IJK,0,0,1

8. Press F3 to mark the Generic Feature.

9. Create a Location dimension using this feature. Give it a plus and minus tolerance of .02.

10. Execute the part program.

You should get a dimension that looks something like this in your report: