The major difference between Advanced post-search relations and Advanced pre-search relations is that the program starts to consider the post-search relations only after the hypothesis has been formulated.
Do not write the name of the element in the code of the Advanced post-search relations. For example, to access the
Width property of some Element1, write only Width.Additional constraints set on the Advanced tab in the Advanced post-search relations pane can only refer to the current element and the elements located above the current element in the FlexiLayout tree. If this condition is not met, the program highlights the invalid element.
Apply constraints to the properties of a hypothesis
A constraint such asWidth > 5*cm returns a quality of 0 for a hypothesis that is 3 cm long, which causes the program to stop formulating hypotheses for the element and its subelements.
Check the properties of a hypothesis
The following condition checks the height of the hypothesis and, depending on the result, limits or adjusts its width:Adjust the quality of a hypothesis
You can adjust the quality of a hypothesis by calling theQuality(q) function, where q is a variable of type Quality. Executing this command multiplies the quality of the hypothesis by q.
