Get corner coordinates of current view
Hello Bricscad users...How do I retrive the corner coordinates of the current view? E.g. if I have the modelspace open and have zoomed in somewhere in my drawing? I use the COM object in Visual Basic .NET.In ObjectArx for AutoCAD I used code like:Dim myViewTableRecord1 As Autodesk.AutoCAD.DatabaseServices.ViewTableRecordmyViewTableRecord1 = Application.DocumentManager.MdiActiveDocument.Editor.GetCurrentView()Thanks,Bent Jeppesen
Comments
-
have a look at this lisp code MP posted at theSwamphttp://www.theswamp.org/index.php?topic=25589.msg307970#msg307970
0 -
Hello,If you want a pure Lisp solution, please check out our FREE downloads page on our web-site.http://www.4d-technologies.com/techcenterClick on the 'Miscellaneous' section and browse down the page to the location wher you see the entry for the function (MI_ScreenExt). This is the code to return the coordinates of the current view.RegardsRakeshCoordinate Systems------------------------------------Get GeoTools for Bricscad, look here http://www.4d-technologies.com/geotools/download/geotools_bricscad.exe
0