TheSwamp

Code Red => VB(A) => Topic started by: Patch61 on April 18, 2011, 03:11:58 PM

Title: How can I align a view to an axis?
Post by: Patch61 on April 18, 2011, 03:11:58 PM
I would like to write a routine that will take the current modelspace view and orient it so that the UCS axis that is closest to being 'up' will become perfectly straight - up and down. I'm not sure exactly what would be the best way to do this. I'd like to do it in VBA (for quick simplicity) and sometime take it over to .Net (although starting in .Net is a possibility).

Any suggestions/help?

-Steve