All,
Every example I've seen for writing a .NET version of ZOOMEXTENTS shows the Document.Database being updated with UpdateExt(true). Does anyone have any idea why, after executing this line, my Extmin and Extmax values remain unchanged?
My process is something like this:
* Inside Drawing1.dwg
* Make sure I'm in Paper Space (which contains a 36x24 border)
* Zoom Extents -- At this point, my code attempts to do a SetCurrentView using the new ViewTableRecord and I get an an eNullObjectPointer exception.
I'm assuming the exception is because the HUGE or maybe ununderstood extents (the defaults are (-1E+20, -1E+20, -1E+20))... I could be wrong about that. Anyway if anyone has any suggestions, thoughts, or ideas why the Extmin and Extmax aren't updating I'd certainly appreciate it.
Regards,
Guy