This NG is primaryly for .NET API. So even you use C#, COM interop questions may more likely get answered in VBA NG.
That said, you can just open AutoCAD VBA IDE, in Objet Browser, find AcadSelectionSet.Select() method, and click "?" button on the Object Browser to read how to use filter in the AcadSelectionSet.Select() method to only select entities of your choice in the VBA/COM API document. The sample code there is simple and straightforward.