Macro does not select the in-between region of a sketch to extrude it but instead selects the sketched figure in the point of selection

I constructed a hexagonal lattice using a macro (and C++ code), as shown in this screenshot:

 

I want to extrude the highlighted part, which is easy to do in the user interface by just placing the mouse cursor over it. When I do that it gets highlighted as in the figure above. When I click on it I get the preview as in this screenshot:

I want to automate this in a macro and eventually C++ code. So far, I can generate the hexagonal lattice. The issue comes when I want to select the in-between region. By recording the macro when I do it in the user interface, something like the following is executed:

Part.ClearSelection2 True
boolstatus = Part.Extension.SelectByID2("Sketch1", "SKETCHREGION", -4.67252537465528E-02, 6.2363156480319E-04, -2.53256663975568E-02, True, 4, Nothing, 0)
Dim myFeature As Object
Set myFeature = Part.FeatureManager.FeatureExtrusion2(True, False, False, 0, 0, 0.01, 0.01, False, False, False, False, 1.74532925199433E-02, 1.74532925199433E-02, False, False, False, False, True, True, True, 0, 0, False)
Part.SelectionManager.EnableContourSelection = False

I have figured out that in SelectByID2 I need to use a point in the in-between region. In the code above (-4.67252537465528E-02, 6.2363156480319E-04, -2.53256663975568E-02) is one such point. However, when running the macro, the in-between region is not selected but it selects the rectangle and extrudes it as shown in this screenshot:

So, how can I select the in-between region to extrude only that as in the second screenshot?