How to create section view in drowing?

Hi!

Sorry, for maybe easy question, but i am a newbee in programming for SolidWorks. I have a drawing created from part by using Create3rdAngleViews2 method. I need to create section view from it. As a section line i must use vertically oriented line passing through the center of the view. So my question is:

How i can create this line programmatically?Is there any API for this needs or i must find points by my own and use sketch manager?

I would be very grateful for any advice!!

SolidworksApi macros