Centerline lenght control

Hello,

is there a way to get drawing view centerline underlying sketch to control its length?

I need to grab its ends (just like you do it manually by grabbing blue squares after clicking on centerline) and then, extend them.

SolidworksApi macros