How can I exclude some type of entity before it into a selectionbox

Hi everybody,

How can I exclude some type of entity before it into a selectionbox, I know the SetSelectionFilter Method ,but it is not enough.

for example:

I just want to select a cylinderFace in a selectionbox.so I can set SetSelectionFilters(swSelectType_e.swSelFACES ) at first.

but "swSelectType_e.swSelFACES" also includes other types such as Planar and so on

How can I stop before the Incorrect type into a selectionbox???

thank you very much

SolidworksApi/macros