Diagnostics of Errors in Variables

Предыдущая страницаВ началоСледующая страница

Upon creating new variables and also the further work with variables, various errors can arise. Usually these are the syntax errors in the expression of the variable. In this case, for the problem variable the ErrorDiagnostics sign will be shown in the SWDiagnosticsGrey20x20 State column. Upon bringing the cursor to this sign, a tooltip about the type of the error will appear. At the same time, the color of the field Value will be changed to red manifesting the existence of the error. In addition, for the given variable a detailed description of the arisen error will appear in the column Message (by default this column is turned off).

Usually, upon editing variables, their state gets updated automatically. However, in some cases (e.g.: when working with databases) it may be necessary to update states of all variables manually using the Variable > Update State command.

In spite of the existence of errors, it is possible to finish the work in the variables editor, and get back to their correction later. The existence of errors in the variables editor does not affect the recalculation of the 2D/3D model elements of which depend on the incorrect variables.

VariablesEditor59

If necessary, you can track the use of any variable in the model with the help of the Info20x20 Variable Usage command found in the context menu of the variable. This command calls the Info20x20 Information window, in which you can view a list of objects using a variable or an expression with this variable.

VariablesEditor30

The second Show variable usage command enables the highlighting of the name of the selected variable in expressions of other variables.

VariablesEditor31

See Also:

Searching for Variables

Assistant of Variable Editor

Hints in Variable Editor