Please enable JavaScript to view this site.

Assignment of various values to variables allows to manage values of other variables and parameters of objects without direct editing of an image or model.

Values of user variables are used for obtaining values of other user variables, of variables of operation parameters, and of dimension variables.

The value assignment method for a user variable is set and can be changed on the Variables toolbar. The following methods are available:

direct entry of number or constantwhich is the value of the variable,

entering an expression to calculate the value of a variable,

reference to a variable, i. e., assigning the value of another variable.

Assignment of various values to variables of operation parameters allows to manage the geometry of a model, and assignment of values to dimension variables allows to manage the geometry of an image in a graphic document and sketch.

Variables of operation parameters get their initial values automatically at operation creation. Initial values of dimension variables are values of the dimensions for which they were created.

You can change the value of a variable of an operation parameter or of a dimension variable by setting a different value assignment method on the Variables toolbar. For variables of these types, the same methods of value assignment are also available as for user variables (see above). Besides, values of these variables can be changed in a dialog for setting the dimension value and in the fields of the Parameter Panel. More details on editing variables...

Variables of the Exclude from Calculation and Fix Component parameters control the state of model objects — including objects into calculation and fixing components, respectively. For details on methods of assigning values to these variables, see section Variables of Fixation of Components and Exclusion of Objects from Calculation.

When setting a method for assignment of a value to a variable, note the following feature.

After input of each expression, an equation is created in the document. This equation is included into the system of equations of the document. The system of equations of the document must have a solution for the set value of the variable. Otherwise, an error message is displayed on the screen.

To transfer the changed values of variables to the document, rebuild it.

© ASCON-Design systems, LLC (Russia), 2024. All rights reserved.