Select top face of body?

I'm trying to figure out how to always select the top face of a body in a part (which might have multiple bodies in the part). There will be a plane coincident to this face and I will know the name of the plane. Any ideas?SolidworksApi macros