core

### Assigning Values to Variables by Using the Assignment Dialog Box

Assignment dialog box

The Insert | Assignment menu option displays the Assignment dialog box. Use this dialog box to assign a value to a variable or data element of a measurement routine feature, dimension, or alignment. Use of the assignment command requires a basic understanding of PC-DMIS expressions.

Assign To button - This button designates the variable that is receiving the value calculated in the Assign From box. Information chosen using the Assign To button is placed in the Assign To box. This value can be the name of a variable or a reference to a data element of a feature, dimension, or alignment.

The result of solving the mathematical expression for a value is what is meant by the term "evaluated".

Assign From button - This button places the value being assigned into the Assign From box. If this box contains an expression, the expression is evaluated at execution time and the result or value of the calculation is assigned to the object specified in the Assign To box.

Insert button - This button inserts an assignment command into the measurement routine while keeping the Assignment dialog box open. A series of assignment commands can be inserted without closing the dialog box.