Repository navigation
VPORTS Command
Hakan Seven edited this page Nov 8, 2026
·
1 revision
Splits model space into tiled viewports, or creates, saves and restores viewport layouts on a paper layout.
| Command | VPORTS |
| Ribbon | View tab › Model Viewports panel |
| Web app | Available |
| Since | 0.1.3 |
In model space:
- Run
VPORTS. - At
VPORTS Configuration [SIngle/2H/2V/4]:, type a configuration and press Enter. Enter alone gives a single viewport.
On a paper layout:
- Run
VPORTSto list the viewports in the layout with their size, position, scale and state. - Type
VPORTSfollowed by a configuration on the same line (for exampleVPORTS 4) to replace the layout's viewports with a preset arrangement that fills the printable area.
| Option | What it does |
|---|---|
SIngle (1) |
One viewport. In model space SI also works. |
| 2H / 2V | Two viewports, split horizontally or vertically. In model space 2 gives 2H. |
3R, 3L, 3A, 3B (3 = 3R) |
Three viewports, with the large one on the right, left, above or below. Model space only. |
| 3V / 3H | Three equal viewports side by side or stacked. Model space only. |
| 4 | Four equal viewports. |
SAVE <name>
|
Saves the current layout's viewport rectangles under a name, stored in the drawing. Paper layouts only. |
RESTORE <name>
|
Re-creates a saved configuration on the current layout. Paper layouts only. |
| LIST | Lists the saved configurations and how many viewports each holds. |
DELETE <name>
|
Deletes a saved configuration. |
- The ribbon's Viewport Configuration drop-down offers the model space layouts by picture (Single, Two: Vertical, Two: Horizontal, Three: Right/Left/Above/Below/Vertical/Horizontal, Four: Equal).
- On a paper layout, the preset arrangements and RESTORE erase the layout's existing viewports first. If any of them is on a locked layer, nothing changes.
-
-VPORTSdoes the same and suits scripts. - The command is not available inside the block editor.
- To type an option and its name on one line, start the line with
>so that Space does not end the entry, for example>VPORTS SAVE Plan.
VPJOIN · MVIEW · HORIZONTAL · VERTICAL · CASCADE · SYNCPVIEWPORTS
Open CAD Studio is free software under the GPL-3.0 licence · Source code · Download · Web app · Discussions
Get started
- Installation
- Your First Drawing
- Tutorials
- The User Interface
- Ribbon Reference
- Workspaces and Toolbars
- Navigating the Drawing
Draw and edit
- Drawing Setup and Units
- Precision Drawing
- Isometric Drafting
- Drawing Objects
- Multilines
- Selecting Objects
- Modifying Objects
- Hatches and Fills
- Layers and Properties
Annotate
Organise and reuse
Present and share
3D
Tools
Reference