GstarCAD command

VPMAX command

Maximise a layout viewport to fill the drawing area and switch to model space for easier editing.

Command
VPMAX
Alias
—
Tool group
View
Level
Beginner

What does VPMAX do?

VPMAX maximises a layout viewport so it fills the drawing area and switches to model space for editing. It is useful when you want more screen space to work inside a viewport without permanently changing its position, size or layout arrangement.

After completing your edits, you can use VPMIN to leave the maximised state and return to the original layout.

How to use the command

  1. Open a layout containing one or more viewports.
  2. Type VPMAX, then press Enter.
  3. If the layout contains multiple viewports, select the viewport you want to maximise.
  4. GstarCAD expands the selected viewport to fill the drawing area and switches to model space.
  5. Edit or inspect the model as required, then use VPMIN to return to the layout.
Command: VPMAX ↵
Select a viewport to maximize: select viewport

Key VPMAX options

VPMAX is a direct command with a simple viewport selection workflow rather than multiple command-line options.

Select viewport
Selects the layout viewport that will be expanded to fill the drawing area.
Single viewport
If the layout contains only one viewport, GstarCAD can maximise it directly without requiring a selection.
Preselected viewport
You can select a viewport first and then run VPMAX to maximise it immediately.
Status bar
The same maximised viewport state can be activated using the Maximise Viewport control on the layout status bar.

Practical example: edit a detailed area from a layout

Suppose a drawing sheet contains several viewports and one of them shows a detailed floor plan at a fixed scale. Editing a small object through the normal viewport area may be inconvenient because only part of the screen is available.

Select that viewport and run VPMAX. The viewport expands to fill the drawing area and GstarCAD switches to model space, giving you more room to zoom, pan and edit the geometry. When the changes are complete, run VPMIN to restore the viewport and return to the layout.

Tip

You can also enter the maximised viewport state by double-clicking a viewport border or using the Maximise Viewport control on the layout status bar.

All commands Updated 6 October 2026
Continue learning
View all commands

Ready to switch to GstarCAD?

Get personalized advice on licensing, migration, and deployment for your business.

Contact us Buy now

No obligation — reply within 24h

Your Cart

Subtotal

Price does not include local taxes or duties.

Proceed to Checkout

Cookie preferences

Choose which cookies you want to allow. Essential and payment cookies cannot be disabled as they are required for the site to function.

Essential

Required

Core functionality including authentication, shopping cart, and language preferences.

Payment

Required

Required for processing payments securely through Stripe and PayPal.

Analytics

Help us understand how visitors interact with our site to improve the experience.

Marketing

Used to deliver relevant advertisements and measure campaign performance.

Functional

Order attribution and traffic source tracking to help us understand how customers find our store.