Determine which component selected face belongs to

Hello,

In an assembly, is there a simple way to determine which component the face selected by the user belongs to?

Thanks for your help.

SolidworksApi macros