Gathering by Parameters
Function Introduced:
You can specify a expression in the relations format to search for components of a particular parameter value. For example, consider the following expression:
type == "electrical" | cost <= 10
When you supply this expression to the rule, it gathers the components that have a “cost” parameter of less than or equal to 10, or whose type parameter is set to “electrical.”
The
expr variable is an array of
ProLine structures. You allocate this array using the function
ProArrayAlloc(). The
ProArray* functions are used for all array manipulations.