[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.
Viewport Zoom
Tip# 3625 By Robert Zipprich On 23-Apr-2011
Rated By 1 users Downloaded : 266
Categories : Zoom, Viewports
Software type : AutoCAD 2012
Rename File To : ZXPFiles/,ZXPFiles/ZXP.DCL,ZXPFiles/ZXP.LSP
Select a zoom XP scale and apply it to a viewport.

If you are a long-time reader, you may recognize this AutoCAD tip by Robert Zipprich, as it was published back in 2003. Apparently it was never archived, so here it is once more. ZXP is a routine that lets you select the zoom XP scale from a dialog box and apply it to a viewport. You might be thinking that this ability is already part of AutoCAD, but Robert's routine works in older versions of the software, and also includes multiple scale units sorted by type, including Architectural, Engineering, Decimal, and Metric.

Start by copying both the LISP and DCL files into a directory that is part of your support file search path, then load the LISP file and run the command ZXP. If you are not currently in a viewport, the routine will prompt you to select one (and even switch to a layout if you are in MS). A dialog appears where you can select the correct zoom scale and press OK, or just double-click on the right choice. The displayed scales are coded into the LISP file, so it's easy to update the list — which in turn updates the choices for a group of users.   


Average Rating:

User comments

Log In