Selection of sketch entities

How can I select  the sketch entities? I have tried three different ways for it 1. ISelectionMgr::AddSelectionListObjects(), 2. IModelDoc2::SelectSketchLine() & 3. IModelDocExtension::SelectByID2() but all failed.

SolidworksApi macros