cadblockdwg

Explainer · what is a viewport in autocad

What is a viewport in AutoCAD?

DWGDXFFree1,098 words

By Sumana Kumar · Published 24 Apr 2022 · Updated 28 Apr 2025

A viewport is a framed window that looks from a paper-space layout through onto your model. It's how a full-size drawing in model space gets displayed at a controlled scale on a printable sheet — the single most important mechanism in AutoCAD's sheet-setup workflow. If model space is the world and paper space is the page, the viewport is the lens between them.

There's a second, older sense of the word too — splitting the model-space screen into several panes so you can see plan, isometric and detail at once. This page covers both but focuses on the one that matters for output: the layout viewport. We'll walk through creating viewports, setting and locking their scale, the powerful trick of controlling layers per viewport, and how to shape a viewport to any outline you like.

Two kinds of viewport

The word 'viewport' covers two related things, and it helps to keep them apart.

- Model-space (tiled) viewports split the editing screen into panes using the VPORTS command — for example, a large plan view alongside a small isometric. These are a working convenience while you draft; they don't appear on a printed sheet. - Layout (floating) viewports are objects placed in a paper-space layout that display the model at a set scale. These are the ones you print. They float over the sheet, can be moved and resized, and each can show a different part of the model at a different scale.

When people say 'set the viewport scale' or 'lock the viewport', they almost always mean a layout viewport. That's the focus here.

Creating a layout viewport

Switch to a layout tab. A new layout usually starts with one default viewport already framing your model; you can keep it, resize it, or erase it and start fresh. To add one, run MVIEW (or use Layout tab → Viewports), then drag a rectangle where you want the window. The model appears inside it.

MVIEW has handy options: type 4 for a 2×2 grid of viewports, or 'Polygonal' to draw a many-sided window, or 'Object' to convert an existing closed shape (a circle or polyline) into a viewport boundary. Once created, the viewport is just an object on the current layer — so put viewports on their own non-plotting layer if you don't want the border line to print.

Setting the viewport scale

Scale is the reason viewports exist, so getting it right is essential. Double-click inside the viewport to enter floating model space (the border thickens), then either pick a scale from the viewport scale control on the status bar (1:50, 1:100, 1:200…) or from the Properties palette's 'Standard scale' field. The model instantly resizes to that scale relative to the sheet.

A cleaner method that avoids accidental panning: select the viewport border (single click, in paper space), open Properties, and set 'Standard scale' there directly. Either way, once the scale is right, you pan inside the viewport to frame the part of the model you want — being careful not to zoom, which would change the scale. That's exactly why the next step matters.

Locking a viewport so the scale stays put

Nothing is more frustrating than carefully setting 1:100, then rolling the mouse wheel to zoom and silently breaking the scale. The fix is to lock the viewport. Select its border, and in Properties set 'Display locked' to Yes — or click the little padlock icon on the status bar while inside the viewport.

With the viewport locked, you can still zoom and pan, but AutoCAD now zooms the whole paper-space sheet around it rather than changing the viewport's internal scale, so 1:100 stays 1:100. Locking every viewport once its scale and framing are final is a habit worth forming — it makes a sheet set robust against the inevitable stray scroll.

Per-viewport layer control: the hidden superpower

Here's the feature that elevates viewports from 'windows' to 'design tool'. Inside floating model space, you can freeze a layer in that viewport only, using the VP Freeze column in the Layer Properties Manager (or the 'Freeze in current viewport' tool). The layer stays visible everywhere else but vanishes in that one window.

The uses are everywhere. Show dimensions in the dimensioned-plan viewport but hide them in the furniture-plan viewport on the same sheet. Display the structural grid in one view and the ceiling layout in another. You can even override a layer's colour or lineweight per viewport. One model, framed many ways, each tuned for its purpose — without a single duplicate of the geometry.

Non-rectangular and clipped viewports

Viewports don't have to be rectangles. To frame an irregular site or an awkward detail, draw a closed polyline or circle, then use MVIEW → Object to turn it into a viewport, or use VPCLIP to clip an existing rectangular viewport to a new boundary. A common example is a circular 'detail bubble' viewport zoomed into a connection at 1:5 on the same sheet as the 1:50 general arrangement.

Clipped viewports keep a sheet clean by showing only the relevant geometry, with no stray lines spilling beyond the area of interest. Combined with per-viewport layer freezing and a locked scale, they let you build genuinely sophisticated presentation sheets — a main plan, a couple of detail bubbles, an enlarged core — all live windows onto one model, all updating together when the model changes.

Free download

Browse the full library — DWG & DXF, no signup.

Download CAD blocks

Questions

Frequently asked

How do I create a viewport in AutoCAD?+

Go to a layout tab and run the MVIEW command (or Layout tab → Viewports), then drag a rectangle to place the window. Use MVIEW's Polygonal or Object options for non-rectangular shapes. The model appears inside the new viewport, ready to scale and frame.

How do I set a viewport's scale?+

Select the viewport border in paper space, open Properties (Ctrl+1), and set 'Standard scale' to the value you want (e.g. 1:100). Alternatively double-click inside the viewport and pick a scale from the status-bar scale control. Then lock the viewport so it can't drift.

Can I hide a layer in one viewport but not others?+

Yes — that's per-viewport layer control. Double-click into the viewport, open the Layer Properties Manager, and use the 'VP Freeze' (Freeze in current viewport) column to hide a layer in that viewport only. It stays visible in every other viewport and on screen.

Why does my viewport scale keep changing?+

Because zooming inside an unlocked viewport changes its internal scale. Select the viewport border, set 'Display locked' to Yes in Properties (or click the status-bar padlock), and the scale stays fixed — zooming then scales the whole sheet around it instead.

Related downloads

Blocks for this guide

Popular blocks to download

Related categories

Related guides