I would like to find the x,y value of the sketch ( line) given in the attached image. I am new to Solidworks API. I would like to rescale the sheet if any view intersects/overlaps to this fixed area.
That's a tricky one. The issue is that title block is just a set of lines so you will need to have some logic finding this corner.
There are few things I can suggest
All of he above requires some modifications in your drawing template.
Another one is to find the note (the one in the quadrant where the point is) and then find the closes sketch point with minimum X and maximum Y. This one doesn't require pre modifications of the template.
That point is fixed from lower right corner of the sheet as long as drawing use same titleblock and border.
Retrieving data ...