Create a Variable with a Value or Expression - SmartSketch - Help

SmartSketch Help

  1. Click Tools > Variables.

  2. In the Variable Table, in the Unit Type list, select the unit type for the variables value. The default type is Distance, which means that any expression created will be for a distance. For example, if you want to create a variable to control an angular dimension, you must select Angular.

    To store a value without units, select Scalar from the list.

  3. In the Name column, click an empty cell.

  4. Type a name for the variable that you want to create. Press ENTER.

  5. In the same row, in the Formula column, do one of the following:

    • Type the value that you want for the variable.

    • Type a simple expression for the variable. A simple expression consists of using basic mathematical operators to set up an equation using values and other variables. For example, if variables Var1 and Var2 already exist, you can type the following formulas when creating a new variable:

      Var1 * Var2
      Var1 / 3.0
      (Var2 + 5.0) * Var1
      Var2 ^ 2

      References to existing variables in a formula are case-sensitive. For example, if you create the variable Var1, you cannot reference it using var1.

  6. Click Enter to create the variable.

See Also

Open Source Command
Paste Link Command (Shortcut Menu)
Filter Command (Variable Table Shortcut Menu)