# This macro identifies segments between polygons which have the same attribute.
#   e.g:    If there are two polygons which are adjacent, and both have the
#           attribute 'GF', this macro would highlight the segment between them.
#           This helps to find attribute errors (If they both have the same
#           attribute, how come there are two different polygons?)

graphics
crit_type  12
crit_exec  20  segments between polygons with the same attribute
graphics +h20
wait Segments between polygons with the same attribute have been highlighted.
