Extra Length in Broken Out Section view for Centerline

Hiee All

I am using macro(refer below code) to create centerline in broken Out section view.

Macro works fine but their is extra length in view(refer pic) how to avoid that???

Code:

boolstatus = oDoc.ActivateView("Drawing View28")

boolstatus = SwExt.SelectByID2("Drawing View28", "DRAWINGVIEW", 0, 0, 0, False, 0, Nothing, 0)

swCenterLine = swDrawing.InsertCenterLine2()

Pics

SolidworksApi/macros