Get the refrence line of the offset segment

Hi guys

I have question regarding about offset, Given that there is a line  that has sketchoffset constraints and knowing that Is there a way to get the refrence line or the base of the offsetentities? Any suggestion or ideas would be appreciated.

Thanks in Advance

Regards,

Jhon

SolidworksApi macros