Advanced Component Selection

Is it possible to create a macro with these filters?
image attached.

I need help.

SolidworksApi/macros