ViewportRectangle
The ViewportRectangle command creates a new viewport in the active paper layout by picking two opposite corners. Only available in layout space.
Creating a viewport
- Switch to a paper layout using the tab at the bottom of the screen.
- Type
ViewportRectanglein the terminal or click the Viewport Rectangle toolbar button. - Click the first corner, or type
X,Yand press Enter for an exact coordinate. - Click the opposite corner — the viewport is placed immediately. Coordinate entry works here too.
The new viewport shows the full model at the layout's default scale. Use the scroll wheel inside the viewport to zoom, or middle-drag to pan the model view.
Coordinate entry
At either corner step you can type an exact coordinate:
- Type the X value.
- Press
,— the terminal shows[X], [Y{cursor}]. - Type the Y value.
- Press Enter to place the point.
Keyboard reference
| Key | Action |
|---|---|
0–9, ., - | Start X coordinate entry |
, | Lock X and move to Y entry |
Enter | Confirm typed coordinate |
Escape | Cancel |
Editing a viewport
After placing a viewport, click it to select it:
- Drag the edges or corners to resize.
- Drag the center grip to move it.
- Use the scale selector in the control bar to set an exact scale (e.g. 1:50). To enter a scale not in the list, type it directly in the input field at the bottom of the dropdown — accepts ratio format (
1:200,5:1) or a plain decimal (0.005), then press Enter. - Right-click a viewport and use Lock to prevent accidental changes.
Notes
- ViewportRectangle is only available when a paper layout tab is active. Running it in model space shows an error message and exits.
- To copy an existing viewport, use ViewportCopy.