I am using a following VB.NET API to get the position of selected drawing view on sheet.
Get View Bounding Box and Position Example (VB.NET)
pos = swView.Position
Debug.Print("View = " + swView.Name) Debug.Print(" X and Y positions = (" & pos(0) * 1000.0# & ", " & pos(1) * 1000.0# & ") mm")
I found this code in Solidwork API documentation their they have mentioned that above code Gets each drawing view's: * origin's x and y positions relative to the drawing sheet origin.
but when i check it physically on drawing sheet it doesn't match the values. (refer below image)
I have also attached this part and drawing if anyone know this kindly share the information.