block and sketchline selection in drawing

I have applied selection filter to blocks in SolidWorks drawing.

When this filter is on I am unable to select sketchlines in drawing

When I apply filter to both sketch segment & block then it allows me to select sketchline as well.

But this time what happens is when I select block then it selects the block as well as sketchline of block.

I do not want this to happen.

Kindly guide me for the same.

SolidworksApi macros