Deleting a viewport in AutoCAD layout is quick and safe when you follow the right steps. This guide explains how to remove a viewport, offers alternative methods, lists common errors and fixes, and gives practical tips to avoid mistakes.
Step-by-step: Delete a viewport in AutoCAD layout
Standard deletion (fastest)
- Switch to the Layout tab where the viewport is located (click the layout tab at the bottom or use the Layout tabs).
- Click the viewport boundary (the rectangular frame). The boundary highlights when selected.
- Press the Delete key on your keyboard.
Using the ERASE command
- Type ERASE or E in the command line and press Enter.
- Click the viewport boundary to select it (or use a window selection to pick multiple viewports).
- Press Enter to confirm deletion.
Using the Properties palette
- Select the viewport boundary.
- Press Ctrl + 1 to open the Properties palette.
- Confirm you have selected the viewport (look at the “Type” or “Object” field).
- Press Delete or choose the erase option (if available) to remove the viewport.
Note: Deleting a viewport removes only the viewport object from paper space. Your model geometry in model space remains intact.
Alternative methods and workflows
- Place viewports on a dedicated layer: Create a layer specifically for viewports (e.g., “VIEWPORTS”). Put each viewport on that layer so you can turn the layer off or delete it to remove several viewports at once.
- Use the MVIEW command: Type MVIEW to recreate or manage viewports. Use it to create and then replace unwanted viewports instead of deleting them manually.
- Close a viewport without deleting: If you just want to hide a viewport temporarily, you can freeze its layer in the layout or turn off the layer containing the viewport instead of deleting it.
- VPCLIP (clip a viewport): Instead of deleting, you can clip a viewport to change its shape or coverage so it no longer shows the area you don’t want.
- Delete multiple viewports: Use a crossing window selection or the Quick Select tool to select all viewports and then press Delete.
Common errors and fixes
-
Cannot select the viewport
- Fix: Ensure the viewport’s layer is not locked or frozen. Unlock the layer via the Layer Properties Manager.
- Fix: Make sure you are in paper space (Layout), not model space. Click the layout tab or type PSPACE if needed.
-
Viewport appears locked and won’t delete
- Fix: Right-click the viewport → Display Locked → set to No. Then select and delete.
-
Deleting the viewport removed important annotations
- Explanation: If annotations (text, dimensions) were placed directly on the viewport boundary or on the same layer as the viewport, they may be removed.
- Fix: Place annotations on a dedicated annotation layer in paper space or move them before deleting the viewport.
-
Viewport had a custom view/scale I want to keep
- Fix: Save the current view as a Named View (use the VIEW command) before deleting the viewport so you can recreate the same view and scale later.
-
Viewport displays nothing after deletion or recreation
- Fix: Confirm the view is pointed to the correct model area. Use Zoom > Previous or set the viewport scale manually. Also check layer visibility in model space (layers can be frozen in a viewport).
-
Undo doesn’t restore the viewport properly
- Fix: Immediately use UNDO (or Ctrl+Z). If the undo history was cleared (e.g., file saved/closed), restore from a backup or use a previously saved drawing version.
Tips for safe editing and best practices
- Save a backup before removing viewports (Save As or create a copy).
- Use UNDO (Ctrl+Z) right away if you delete the wrong object.
- Keep viewports on a separate layer to manage them quickly.
- Lock viewports after setting the correct view and scale to prevent accidental changes.
- Use Named Views to preserve camera position and scale before deleting viewports.
- When preparing plots, check Plot Preview to ensure removing the viewport didn’t affect the intended output.
- If you need to remove viewports across multiple layouts, consider a short LISP script or use the Quick Select tool to speed up selection.
FAQ
Will deleting a viewport delete the model drawing?
No. Deleting a viewport removes only the paper space viewport object. Your model geometry in model space remains unchanged. However, any annotations that existed on the same layer or inside the viewport boundary in paper space may be deleted if they were selected.
How can I delete multiple viewports at once?
Use a crossing window to select multiple viewports, or open Quick Select and filter by Object Type = Viewport, then press Delete.
Why can’t I select a viewport even though it’s visible?
Usually because the viewport’s layer is locked or you are not in paper space (layout). Unlock the layer in Layer Properties Manager and make sure you’re on the correct layout tab.
How do I restore a deleted viewport?
Immediately use UNDO (Ctrl+Z). If the file was saved after deletion, restore from a previously saved copy or backup. To recreate the same view, use a Named View you saved earlier, or manually set the view and scale.
What’s the difference between model space and paper space viewports?
A paper space viewport is a window on a layout that displays a view of model space at a specific scale. Model space is where the design is drawn; paper space is where viewports, title blocks, and annotations for plotting are arranged.
Will deleting a viewport affect layer visibility in model space?
No. Deleting a paper space viewport does not change the global layer states in model space. However, view-specific layer freezes (layers frozen in that viewport) are removed along with the viewport.
