What is a Viewport in AutoCAD?
What Is a Viewport in AutoCAD?
Short Answer
A viewport in AutoCAD is a layout window that shows a view of model space on a sheet for plotting, usually created with the MVIEW command. It lets you place multiple scaled views of the same drawing on one layout. Limitation: each viewport must be managed carefully for scale and layer visibility.
What You Need to Know Before
Warning: Viewports often cause plotting mistakes when they are left unlocked or when viewport-specific layer overrides are applied without being noticed. A common failure is changing the zoom inside a viewport and accidentally ruining the plotted scale.
How to Create a Viewport in AutoCAD
Command: MVIEW
Shortcut: MV
Quick Steps:
- Go to a Layout tab, then on the Ribbon > Layout panel, click Rectangular under viewports, or type
MVIEW. - Pick two corner points to create the viewport boundary on the sheet.
- Double-click inside the viewport, set the required view and scale from the status bar viewport scale control, then turn Display Locked = Yes in Properties.
- Go to a Layout tab, then on the Ribbon > Layout panel, click Rectangular under viewports, or type
Variables & Settings
System Variable: MAXACTVP (Default: 64)
Expert Setting: This controls the maximum number of active viewports that can be regenerated at one time. If a layout has many viewports, performance can drop, and some viewports may not update as expected until others are turned off or reduced.
Why it Fails
- Cause 1 (Geometry): The viewport is zoomed manually instead of being set to a standard scale, so the plotted view is no longer accurate.
- Cause 2 (layers/Locks): The viewport is on a non-plotting or frozen layer, or the viewport display is not locked, allowing accidental scale changes.
- Cause 3 (Command/Logic): The user creates the viewport in model space instead of paper space layout, or confuses tiled model space viewports with layout viewports.
Quick Fix & Best Practice
- Quick Fix: Select the viewport, open Properties, set the correct Standard Scale, and change Display Locked to Yes.
- Manager’s Verdict: Use layout viewports for all plotted sheets because they are the standard professional method for controlling scale, view direction, and sheet presentation. Avoid leaving viewport scales unlocked once a sheet is issued.
FAQ
Can one layout have multiple viewports?
Yes, a single layout can contain multiple viewports with different views and scales.
Can I freeze layers in only one viewport?
Yes, use viewport layer freeze so a layer is hidden only in the selected viewport.
What is the difference between model space and a layout viewport?
Model space is where you draw full size, while a layout viewport is a paper space window showing that model for plotting.
.
