Use calc section variables

Tekla Tedds
2021
Tekla Tedds Tekla Tedds for Word

Use calc section variables

You can use calc sections to separate the variables in your document from one another, as each calc section stores its own variables independently. This way, you can repeat similar calculations that use the same named variables without the calculations affecting each others' results. To use calc section variables, see the following instructions.

Note:

The following only applies to Tedds for Word.

Define calc section variables

  1. Create a calc section.
  2. In the calc section, write the variable name, an equal sign, and the value of the variable.
  3. Calculate the expression.

View calc section variables

  1. Place the insertion point inside the calc section whose variables you want to view.
  2. In the Tools ribbon group, click Variables.

    The Variables dialog box appears.

  3. Click the Calc Section tab to view calc section variables.
    Note:

    To see the Calc Section tab, the insertion point must be inside a calc section.

Write out calc section variables into a document

Note:

You can only insert calc section variables within the calc section in which they are defined.

If you want to use the variables in another calc section, you have to copy and paste the variables to the other section, or promote the variables into document variables.

  1. Place the insertion point inside the calc section whose variables you wish to insert in the document.
  2. In the Tools ribbon group, click Variables.

    The Variables dialog box appears.

  3. Click the Calc Section tab to view calc section variables.
    Note:

    To see the Calc Section tab, the insertion point must be inside a calc section.

  4. Select the variables that you want to insert in your document.
  5. At the bottom left corner of the Variables dialog box, select the variable details that you want to insert in your document.
  6. Click Write Out.

    The selected variables appear in your document.

Promote calc section variables into document variables

  1. Place the insertion point inside the calc section whose variables you want to promote.
  2. In the Tools ribbon group, click Variables.

    The Variables dialog box appears.

  3. Click the Manage tab.

  4. In the Calc section variables list, select the variables that you want to promote.
  5. Click <-- Add to promote the selected variables.

    The selected variables appear in the Document variables list, and can now be used throughout the calculation document.

    Note:

    If you make changes that cause the value of a promoted variable to change, the value of the promoted variable automatically changes to the new value.

Delete calc section variables

  1. Place the insertion point inside the calc section whose variables you want to delete.
  2. In the Tools ribbon group, click Variables.

    The Variables dialog box appears.

  3. Click the Manage tab.
  4. Select the variables that you want to delete.
  5. Click Delete.
    Note:

    If you do not plan to recreate the deleted variables, erase the calculations that define or use the deleted variables.

Was this helpful?
Previous
Next