Show Constraints

To see where a variable is constrained, right click on it’s name > Show > Constraints.

../../_images/sv_show_constraints_trigger_editor.png

The results are presented in the Search View.

../../_images/sv_show_constraints_results.png

The results include:

../../_images/constraint_obj1.png

Constraint blocks involving the variable

../../_images/randomize_with.png

In-line constraints of the variable inside randomize() with { … }

../../_images/task_obj1.png

Calls to rand_mode() and constraint_mode() which affect the variable randomization

Tip

For rand or randc class variables you can also hold down the Ctrl key while hovering the name of the variable with the mouse cursor, and pick Show Constraints from the pop-up list.

../../_images/sv_show_constraints_trigger_hyperlink.png

Tip

You can also trigger this functionality from a view’s context menu, for example from the Types View or Type Hierarchy View.

../../_images/sv_show_constraints_trigger_view.png

Tip

You can choose to hide constraint_mode() and rand_mode() calls using the toolbar Filters… button:

../../_images/sv_show_constraints_filter.png