Why does this not work ?
sub main()
code .....
oView1 = oSheet.DrawingViews.AddBaseView(oPartDoc, oPoint1, 1/1#, kFrontViewOrientation,kHiddenLineDrawingViewStyle)
end sub
but this does ?
code.....
oView1 = oSheet.DrawingViews.AddBaseView(oPartDoc, oPoint1, 1/1#, kFrontViewOrientation,kHiddenLineDrawingViewStyle)