Viewport Outline
eplisp, the free multilingual LISP library
| The author does not allow redistribution; download the file from the author's own site. | |
… Rate this tool: | |
| Commands | VPOVPOLVPOA |
|---|---|
| Category | Plotting |
| Author | Lee Mac |
| Source | Lee Mac Programming |
| License | Author's terms of use |
| Version | 1.3 |
| Requirements | AutoCAD (full version); the author lists it as AutoCAD LT compatible (LT runs LISP from release 2024). Not for AutoCAD for Mac. |
| Prompt language | English |
| Added | 2026-10-26 |
| Go to the author's page ↗ | |
Draws a polyline in model space showing the area a paper space viewport covers, for one viewport, the current layout or all layouts.
Viewport Outline is an AutoLISP program by Lee Mac that shows in model space which area appears on which sheet. It suits users who plan sheet layouts or want to see viewport boundaries while working in model space.
Overview
VPO draws the boundary of a selected paper space viewport into model space as an LWPolyline, taking the view's position, scale, rotation and orientation into account. VPOL does this for all viewports in the active layout and VPOA for viewports in all layouts. Rectangular, polygonal and clipped viewports, including those with arc segments, are supported.
The Program Parameters section of the code can offset the outline inward by a set number of paper space units and apply properties such as layer, colour and linetype to the new polyline.
How to use it
- Download the LSP file from the author's page and load it in AutoCAD with APPLOAD.
- Switch to a layout tab with no viewport active.
- Type VPO and select a viewport, or use VPOL for the whole layout or VPOA for all layouts.
- Check the new polylines in model space.
Notes and limitations
- The program adds new polylines to model space; offset and property settings are changed by editing the source code.
- VPO and VPOL work only in paper space.
Source and license
This tool is not made by eplisp. The description on this page is written by us; get the file and its latest version from the author's page.
Free for personal or in-house use; redistribution needs the author's written consent, so we do not host the file and link to the author's page instead.
References
- Lee Mac Programming (author's page) – https://www.lee-mac.com/vpoutline.html
- Author: Lee Mac – https://www.lee-mac.com/
- License: Author's terms of use – https://www.lee-mac.com/terms.html
Found a mistake, or are you the author of this tool? Request a correction or removal