Example of a variable formula: Determine the bolt size and bolt standard

Tekla Structures
2021
Tekla Structures

Example of a variable formula: Determine the bolt size and bolt standard

This example shows how to create two parametric variables that determine the bolt size and bolt standard.

  1. On the Custom component editor toolbar, click the Display variables button.

    The Variables dialog box opens.

  2. Click Add twice to create two new parametric variables.
  3. Modify the first variable as follows:
    • In the Value type list, select Bolt size.

      Tekla Structures automatically adds the suffix _diameter to the name of the variables. Do not delete the suffix.

    • In the Label in dialog box box, enter Bolt Size.

  4. Modify the second variable as follows:
    1. In the Value type list, select Bolt standard.

      Tekla Structures automatically adds the suffix _screwdin to the name of the variable. Do not delete the suffix.

    2. In the Name box, change the prefix of the second variable so that the prefixes for the two variables are the same.

      In this example, the prefix is P1.

      Note:

      The bolt size and bolt standard variables must always have the same prefix, otherwise they do not work.

    3. In the Label in dialog box box, enter Bolt Standard.
  5. Link the parametric variables to the bolt group properties:
    1. In the Custom component browser, browse for the size property of the component object.
    2. Right-click Size and select Add Equation.
    3. Enter P1_diameter after the equal sign, and then press Enter.
    4. Right-click Bolt standard and select Add Equation.
    5. Enter P1_screwdin after the equal sign, and then press Enter.

  6. Save the custom component.
  7. Close the custom component editor.

You can now determine the bolt size and bolt standard for the custom component in the custom component's dialog box.

Bylo to užitečné?
Předchozí
Další