[Search tip detail and code files using keywords, tip number, author name, etc ]
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Zoom Extents on All Sheets
Tip# 3400 By Derek Beals On 15-Apr-2010
Rated By 1 users Downloaded : 828
Categories : Paper Space, Zoom
Software type : AutoCAD 2011
Rename File To : ze-all-sheets.lsp
Iterate each layout in a drawing and perform a zoom extents.

Derek Beals submitted Ze-all-sheets, a routine that iterates each layout in the current drawing, performing a zoom extents. Derek uses this before saving the drawing to ensure that each layout is fully displayed. To use the main function, load the LISP file, then start the command by entering ZEAS at the Command line.

As a bonus, Derek has included several of his standard functions for tasks such as converting radians to degrees and rounding a real number to the next whole integer. These standard functions include descriptive comments. Thanks for your submission, Derek.


Average Rating:

User comments
Comment by Anonymous
Posted on 2010-04-20 11:38:03
Does this routine make sure each layout has paperspace active before zooming extents?
Comment by Anonymous
Posted on 2010-06-01 18:01:20
yes it does...i def had to make sure that happened as you wouldnt want the paperspace to zzom extents in model space...