How to Lock Viewport in AutoCAD: Step-by-Step Guide
To lock a viewport in AutoCAD, select the viewport boundary, then open the Properties palette and set
Display Locked to Yes. This prevents zooming or panning inside the viewport while keeping the view fixed.Syntax
Locking a viewport in AutoCAD involves changing the Display Locked property of the viewport object.
Display Locked: A property that can be set toYesorNo.Yes: Locks the viewport to prevent zoom or pan changes.No: Allows zooming and panning inside the viewport.
solidworks
Select viewport boundary -> Properties palette -> Display Locked = Yes
Example
This example shows how to lock a viewport in a layout tab to keep the view fixed.
solidworks
1. Switch to a layout tab where your viewport is.<br>2. Click on the viewport boundary to select it.<br>3. Press <code>Ctrl+1</code> to open the Properties palette.<br>4. Find the <code>Display Locked</code> property.<br>5. Change it from <code>No</code> to <code>Yes</code>.<br>6. Now try to zoom or pan inside the viewport; it will stay locked.
Output
Viewport is locked; zoom and pan inside it are disabled.
Common Pitfalls
Users often forget to select the viewport boundary and instead select objects inside the viewport, which does not lock the view. Another mistake is not opening the Properties palette, so the Display Locked property cannot be changed. Also, locking the viewport does not lock the entire layout or model space, only the viewport's view.
solidworks
Wrong way: 1. Select objects inside viewport 2. Try to set Display Locked (not available) Right way: 1. Select viewport boundary 2. Open Properties palette 3. Set Display Locked = Yes
Quick Reference
| Action | Description |
|---|---|
| Select viewport boundary | Click on the edge of the viewport in layout tab |
| Open Properties palette | Press Ctrl+1 or right-click and choose Properties |
| Set Display Locked to Yes | Locks zoom and pan inside the viewport |
| Unlock viewport | Set Display Locked to No to allow changes |
Key Takeaways
Always select the viewport boundary, not objects inside it, to lock the viewport.
Use the Properties palette to set Display Locked to Yes for locking.
Locking a viewport prevents zoom and pan changes but does not lock the entire layout.
Unlock the viewport by setting Display Locked back to No when needed.
Locking viewports helps maintain consistent views in printed layouts.