Activity: Using the variable table


Using the Variable Table

This activity demonstrates how to use the Variable Table to control dimensions.

In this activity an existing part is dimensioned and then the variable table is used make changes to the part.

Click here to download the activity file.

Launch the Activity: Using the variable table.

Open activity file
Dimension the model
Open the variable table
Change the dimension variable name
  1. Change the dimension display. Right-click a dimension and then click Show All Names.

  2. In the variable table, double-click in the Name box for Linear_1. Type height for the new variable name and press Enter.

  3. Rename the remaining dimensions: Linear_2=width, Linear_3=hole_Y, Linear_4=hole_X.

Create a user defined variable
  1. In the variable table, double-click the first empty Name box shown, and type user_defined_A. Press Enter.

  2. Double-click the Value box for variable user_defined_A and type 50. Press Enter.

Lock a dimension
  1. Select the width dimension on the part and click the lock button to lock the dimension.

    Note:

    Notice that the dimension changes to red, which means that it is a driving dimension.

  2. Notice in the variable table that the width value has a locked icon.

    You can click the value edit button or click the dimension on the part to change the dimension value. Both bring up the same dimension value edit dialog.

Add a formula to a dimension variable

    Add a formula to control the hole_X value. Notice in the variable table that the Formula box for hole_X is not available. This means that it cannot be edited because it is a driven dimension.

  1. Select the hole_X dimension on the part and click the lock button. Notice in the variable table that the Formula box is enabled and a value edit button is available the value.

  2. Click the Formula box for the hole_X variable, and type =user_defined_A and press Enter.

    Notice that the hole_X dimension on the model contains two colors. The value is still driven (purple), but the dimension can be edited using a formula (red).

Edit the dimensions
Summary

In this activity you learned how to use the variable table control the dimensions on a model. You learned how to rename a system defined variable, create a user defined variable and how to add a formula for a variable.