This content has been marked as final. Show 2 replies
can anyone suggest how can I cycle through all schematic sheets in a project (with vbscript)? I thought it could be done like this:
Dim vdapp : Set vdapp = GetObject (,"ViewDraw.Application")
Dim vddoccol : Set vddoccol = vdapp.Documents
For index = 1 to vddoccol.count
Dim vdview : Set vdview = vdapp.ActiveView
This doesn't work for me. Either vdapp.ActiveView is causing me trouble, or the vddoccol is not doing what I thought it should be doing.