[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 in All Layouts
Tip# 3757 By Alan Thompson On 17-Oct-2011
Rated By 0 users Downloaded : 1211
Categories : Zoom, Paper Space
Software type : AutoCAD 2012
Rename File To : ZoomExtentsInAllLayouts.LSP
This code will iterate through all your layouts.

If you work with multiple layouts in AutoCAD, Alan Thompson has provided a quick way to ensure that each one is zoomed to its extents. Load this LISP file, then type in the command ZAL. The code will iterate through each layout, performing a Zoom Extents. This could be a good addition to other routines where you might have to clean up files before saving. This code is also a good starting point for other routines that need to perform the same task on multiple layouts.


Average Rating:

User comments
Comment by Cooper,Kent
Posted on 2011-10-18 14:17:38
For those who may prefer to use the drawing limits (rather than Extents), here's a similar one I made earlier this year, that Zooms to the Limits in All Layouts, and then also in model space. Command name = ZLAL = Zoom Limits, All Layouts
Comment by Glick,Joseph
Posted on 2015-09-10 16:33:36
I cannot make this work. When I open these files in notepad I get jibberish. I really think it would be a great tool. For those who have downloaded and used it, what did you do? I have downloaded dozens of lisp and never had this happen. Thanks