How to Access Edges used in a Sweep path

Hi,

This part has several sweeps.

Sweep1 path is a combination of a 3D sketch and edges of a body.

I can access to the Skecth querying the path, but not the edges.

Attached the part and the macro.

Macro allows preselection.

SolidworksApi/macros