Although I have abandoned the whole idea...
...here is how I almost got it to work. It may be helpful to someone trying to create one view.
- Define a UCS rotated the same as the desired view
- Set that UCS current
- Rotate the display so that this plan view is current
- Write a lisp file to disc defining an (entmake) call to create the view
- Use SendCommand (or Vl.Application) to force AutoCAD to load this lisp
(steps 1-3 is necessary so that the center point you pass to the entmake call is a DCS coordinate)
Everything worked except that this was running in a loop, and each lisp code simply stayed in memory until the VBA code finished, then it executed. Well, since I was writing the same file over and over, only the last lisp ran.
I could have probably made it work by writing unique files, but by this point I felt I was walking in glass as it was. Too convoluted and kludgy to be a real solution. I suppose if you needed to create a single view every now and then, this method might work. But this app may have to create hundreds of views at one time.
I understand it may be possible to create named views using .NET? Any thoughts?