SW API, selecting a circle of a sketch, and edge of its extrusion?

Greetings all,


Using SW API, I am trying to select a circle of a sketch, and its extruded edge.

I am currently using "SelectByRay", but the code is selecting other geometry not shown in the attached photo.


Thanks