AnsweredAssumed Answered

Can anybody know how to check position of drawing view physically?

Question asked by Abhishek Lad on Sep 24, 2019
Latest reply on Sep 26, 2019 by Abhishek Lad

Hello all,

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.

Attachments

Outcomes