Learn how to create and rotate a viewport in ZWCAD with this step-by-step guide.
Table of Contents
A viewport is a window that displays graphic objects, and objects outside the viewport will not be displayed.
Knowing how to create a viewport is essential for setting up professional layouts, whether you need a single main view or multiple detailed perspectives. Once created, you can also rotate the viewport to align views with site boundaries, angled geometry, or custom orientations—to match your project’s orientation. This guide walks you through both creating and rotating viewports so you can present your designs clearly and efficiently.
To create a viewport in ZWCAD, there are several methods:
Method 1: Create a new layout viewport
Method 2: Creating a viewport configuration on a layout
Method 3: Placing a named viewport configuration into a layout
After creating a viewport, you may need to rotate the view to align with your drawing’s orientation.
To rotate a viewport, there are two ways depending on whether you want to rotate the internal view along with the viewport or keep the internal view unchanged. The following sections explain each method in detail and when to use them.
Method 1: Rotating the Viewport Only (without changing the internal view)
To rotate a viewport without affecting the view inside it, you need to adjust the system variable VPROTATEASSOC.
Steps:
Rotate the Viewport:
Result: The viewport rotates around the specified base point, but the view inside it does not change.
Example:
After setting VPROTATEASSOC to 0, you can rotate the viewport as shown in the following illustration:

Method 2: Rotating Both the Viewport and the Internal View
If you want to rotate both the viewport and the internal view together, make sure that VPROTATEASSOC is set to 1 (the default value).
Steps:
Rotate the View:
Option A: Using MVSETUP
Option B: Using UCS and PLAN
Result: Both the viewport and the displayed view rotate together.
Example:
To rotate the contents of a viewport, double-click inside it and use either Option A or Option B.


To create a viewport in ZWCAD, use the VPORTS command or the View menu to set up single or multi-viewport layouts. For rotation, set VPROTATEASSOC=0 to rotate only the viewport frame while keeping the internal view fixed, or set VPROTATEASSOC=1 and use MVSETUP or UCS+PLAN inside the viewport to rotate both frame and content together. Choose based on whether you need to preserve the original model orientation or align the displayed view with your drawing’s angle.