GstarCAD 2027 · Command Reference
Commands > V Command > VPORTS > VPORTS Command Line
Function Description: Creates multiple viewports in model space or in paper space.
Command Prompts: /
Enter an option [Save/Restore/Delete/Join/SIngle/?/2/3/4] \<current>:
Saves the current viewport configuration using a specified name.
Enter name for new viewport configuration or [?]:
Restores a previously saved viewport configuration.
Enter name of viewport configuration to restore or [?]:
Deletes a named viewport configuration.
Enter name(s) of viewport configurations to delete \<none>:
Combines two adjacent model viewports into one larger viewport. The two model viewports must share a common edge of the same length. The resulting viewport inherits the view of the dominant viewport.
Select dominant viewport \<current viewport>:
Select viewport to join:
Returns the drawing to a single viewport view, using the view from the current viewport.
Displays the identification numbers and screen locations of the model space viewports.
Enter name(s) of viewport configuration(s) to list \<*>:
Divides the current viewport in half.
Enter a configuration option [Horizontal/Vertical] \<Vertical>:
Divides the current viewport into three viewports.
Enter a configuration option [Horizontal/Vertical/Above/Below/Left/Right] \<Right>:
Divides the current viewport into four viewports of equal size.
Specify first corner or [Fit] \<Fit>:
Specify first corner
Specify two points to define the rectangular viewport.
Specify opposite corner:
Fit
Takes the current display area as a viewport.
Article ID: 3389
Created: September 26, 2026
Last Updated: September 25, 2026
Author: kbadmin
Online URL: https://kb.gstarcad.com.my/article/vports-command-line-gstarcad-2027-3389.html