Coreldraw VBA Select shapes under curve

Guys

Any Idea how to select objects that are under a curve

Th above show a series of circles and a curve drawn with the freehand tool over some of them

I am trying to make a selection of just the circles that the curve intersects.

I Can do it using SelectShapesFromRectangle but that selects anything in the rectangle and if there are shapes that are in the rectangle but not under the line they are selected as well

I did try using the pen tool to click on each circle to draw the line,I could then get the node positions and select the object below by using SelectShapesAtPoint but I cant work out how to loop through the nodes and add each shape to the selection

Would really appreciate any help

Mark