How do I select a face that is parallel to the previously selected face?

Good afternoon. Please tell me how to solve the problem. It is necessary to select the face of the part that is parallel to the selected face and is at a distance of no more than 5 mm from it.

SolidworksApi/macros