How can I get the object with my custom tag and custom attribute by object spy directly

Dear teams,

How can I get the object with my custom tag and custom attribute by object spy directly?

I tried to adjust the web locators setting.

Project > Setting > Test Design > Web Locators
image

I chose Attributes and I deleted everything inside it, only add my custom tag and custom attribute.

But when I use object spy/web recorder, the object attributes were created not by following my rule.

Thanks.