Any component
measurement can be customized by substituting a user defined component attribute
for the category default. The results will be classified in dynamic
categories in accordance with the user attribute.
For example, you can report
different distances for testpoint to component measurements, depending
on component height:
Components of low
height must be distance D1 from the testpoint.
Components of medium
height must be distance D2 from the testpoint.
Components of tall
height must be distance D3 from the testpoint.
Procedure
- In the
user attribute file, define an attribute that will be assigned to
each component.
For example, define a user attribute _comp_height
with possible values of low, medium and tall, by adding these lines:
OPTION {
NAME = _comp_height
ENTITY = COMPONENT
OPTIONS = low;medium;tall
}
- Set the
ERF variable v_sub_cat_default to point to the user attribute, in testpoint.erf.
For example, set v_sub_cat_default
= _comp_height.
- Set the
ranges for the dynamic categories, in the ERF model:
For example,
set these ranges:
*:tp2comp;low_*=D3, <value>, <value>
*:tp2comp;medium_*=D2, <value>, <value>
*:tp2comp:tall_*=D1, <value>, <value>
*:tp2comp;*_*=<value>, <value>, <value>