I am able to get Co-ordinates with reference to drawing.
For creation of grid lines i need to start it from origin of the view.
I am stuck in how to get origin without expanding view?
Please see the code in attached file and correct me.
Try this, You will get the origin of all the views
For Each s As View In workPart.Views
If TypeOf (s) Is Drawings.DraftingView Then
ElseIf TypeOf (s) Is ModelingView Then
MsgBox(s.AbsoluteOrigin.X & vbNewLine & s.AbsoluteOrigin.Y & vbNewLine & s.AbsoluteOrigin.Z)