How can I access to edges and faces of an extruded box

Hi All,

     I'm trying to write a macro which extrudes a box out of a sketch line. and get access to select edges and faces of that box.

I don't know how to select edges and faces of FeatureExtrusionThin2 feature.

Also, the first problem I ran into is selecting my sketch line to draw the box:

    Set swSelMgr = Part.SelectionManager

    Set SketchSegment = swSelMgr.GetSelectedObject2(1)

    Part.SelectionManager.SetSelectedObjectMark 1, 1, 0

    

    Set myFeature = Part.FeatureManager.FeatureExtrusionThin(True, False, False, 0, 0, 0.00254, 0.00254, False, False, False, False, 1.74532925199433E-02, 1.74532925199433E-02, False, False, False, False, False, False, False, False, True, 0.00254, 0.00254, 0.00254, 0, 0, False, 0.005, True, True)

User draws and selects the line in the beginning.

SolidworksApi macros