AnsweredAssumed Answered

Selecting Correct View In Macro

Question asked by Matt Jones on Jul 27, 2015
Latest reply on Jul 28, 2015 by Deepak Gupta

I want to select the view that my parametric title block references for my macro. I am currently using the below code to select the view and have had a couple of issues with the odd drawing selecting a flat pattern that is on the sheet!

 

Set swDraw = swApp.ActiveDoc
Set swView = swDraw.GetFirstView
Set swView = swView.GetNextView

 

Can I do something like

 

Set swView = XXX 'a specific view on the page

 

 

If so how do I 1. find out what view the title block is referencing and 2.word the code (eg getviewXX ??)??

 

thanks

Outcomes