How-to guide · how to lock a viewport in autocad
How to lock a viewport in AutoCAD
By Sumana Kumar · Published 8 Jan 2025 · Updated 28 Feb 2026
Once you have framed a viewport and set its scale, the next job is to stop that scale from changing by accident. Locking a viewport freezes its display scale: you can still double-click inside and pan to reframe, but the scroll wheel no longer zooms the model and rescales the view. It is the small step that keeps a finished drawing plotting at exactly the scale you intended.
This guide shows the two quick ways to lock a viewport — the Properties palette and the right-click menu — explains what locking does and does not prevent, and covers locking several viewports at once on a busy sheet. If your drawings keep coming out at the wrong scale, this is almost always the fix.
Why an unlocked viewport is risky
Inside an unlocked, active viewport, the scroll wheel zooms model space — which silently changes the viewport scale. Nudge the wheel while panning to a different part of the plan, and your carefully-set 1:100 quietly becomes 1:97 or 1:112. Nothing on screen warns you; the error only shows up when someone scales a measurement off the print and finds it wrong.
Locking removes that risk entirely. With the viewport locked, scrolling pans the paper or zooms the whole sheet instead of rescaling the model inside the window, so the scale you set is the scale that plots.
Method 1 — Lock from the Properties palette
In paper space, click the viewport border once to select it (do not double-click in). Open the Properties palette with Ctrl+1. Near the bottom you will find 'Display locked' — set it to Yes. The viewport is now locked at its current scale.
The Properties palette is the most reliable method because you can see and confirm the scale at the same time: 'Standard scale' or 'Custom scale' sits just above the lock setting, so you can verify the ratio is right before you lock it in.
Locking several viewports at once
On a sheet with multiple viewports, you do not need to lock each one separately. In paper space, select all the viewport borders together (window-select or pick them with Shift held), open the Properties palette, and set 'Display locked' to Yes. Every selected viewport locks in one action.
This is worth doing as the last step before issuing a drawing: lock the lot so no one — including future-you — can knock a scale out by scrolling. If you later need to reframe a viewport, unlock just that one, pan, and relock it.
What locking does and doesn't prevent
Locking freezes the scale, but it does not freeze the framing — you can still double-click in and pan to show a different part of the model at the locked scale. That is deliberate and useful: it lets you reposition the view without risking the ratio.
Locking also does not stop you editing the geometry itself; you can still draw and modify model-space objects through a locked viewport. And it does not lock layer visibility or the viewport's position on the sheet. If you need the viewport frame to stay put as well, that is a separate matter handled by locking the layer the viewport border sits on.
Display lock versus locking the viewport's layer
It helps to separate two ideas that both use the word lock. Display lock — the 'Display locked' property — freezes the scale and zoom of what you see through the viewport. Locking the layer the viewport border sits on is something else entirely: it stops the border itself being selected, moved or deleted in paper space, but does nothing to the scale.
On a finished sheet you often want both. Display-lock the viewport so the scale is safe, and put the viewport border on a locked, no-plot layer so nobody nudges the frame or accidentally erases it. Together they make the viewport effectively tamper-proof: the scale cannot drift and the window cannot be moved, while the geometry inside stays fully editable.
Reframing a locked viewport when you need to
To re-aim a locked viewport without touching its scale, double-click inside it and pan — panning is allowed even when locked. If you genuinely need to change the scale, you must unlock first: set 'Display locked' to No, set the new scale, then lock again. Trying to rescale a locked viewport simply does nothing, which is the whole point.
Make relocking a reflex. The moment you finish adjusting a viewport, set it back to locked so the drawing returns to its protected state before you move on to the next sheet.
Free download
Browse the full library — DWG & DXF, no signup.
Questions
Frequently asked
How do I lock a viewport so the scale stops changing?+
Select the viewport border in paper space, open the Properties palette (Ctrl+1), and set 'Display locked' to Yes. You can also right-click the border and choose Display Locked > Yes. The scale is then fixed until you unlock it.
Can I still pan inside a locked viewport?+
Yes. Locking only freezes the scale, not the framing. Double-click inside and pan to show a different part of the model at the same locked scale. The scroll wheel zooms the whole sheet instead of rescaling the view.
How do I lock all viewports on a sheet at once?+
In paper space, select every viewport border together (Shift-pick or window-select), open the Properties palette, and set 'Display locked' to Yes. All selected viewports lock in a single step.
How do I change the scale of a viewport that's locked?+
Unlock it first — set 'Display locked' to No — then set the new scale and lock it again. A locked viewport ignores scale changes, which is what protects it from accidental scrolling.
Related downloads
Blocks for this guide
Popular blocks to download
Related categories
Related guides
How-to guide
How to Create a Block in AutoCAD (BLOCK & WBLOCK)
Learn how to create a block in AutoCAD with the BLOCK and WBLOCK commands — pick a base point, choose objects, set units, and save a reusable DWG block library.
How-to guide
How to Convert DWG to DXF in AutoCAD
Convert a DWG to DXF in AutoCAD with SAVEAS — choose the right DXF version, set precision, and export clean geometry for laser cutters, CNC and other CAD apps.
How-to guide
How to Convert DXF to DWG (3 Ways)
Convert a DXF to DWG three ways — in AutoCAD with SAVEAS, free with the ODA File Converter, or in DraftSight. Pick the right DWG version and keep layers intact.
