Flip Direction for Section Line in section view

I am stuggling with changing the direction of section view line. ? I am using createline and  CreateSectionViewAt5 to create a section and the section comes out to be flipped as compared to what i am expecting.

Manually changing the direction of section line, does the job . So when i try to record the macro, for same, its doesn't record the api calls for flipping the direction of section line.

Any help/sample will be greatly appreciated.

SolidworksApi macros