Layouts in ZWCAD are used to prepare drawings for printing without changing geometry in Model Space. By displaying Model Space through viewports, Layout Space allows multiple views to be arranged at different scales on a single sheet while maintaining a consistent drawing workflow for plotting and documentation.
Difference between Model Space, Layout Space and Viewport
Model Space, Layout Space, and viewports are three symbiotic components in ZWCAD—each plays a distinct role and work together to transform a design into a printable drawing. Their specific differences and practical applications in detail are below.
Model Space
Model Space is the primary drafting environment where drawing geometry is created and edited. The drawing area is unlimited, allowing projects of any size to be developed without regard to paper dimensions. Objects in Model Space should generally be drawn at their actual size (1:1).

Layout Space
Layout Space represents a physical drawing sheet used for plotting or PDF output. Instead of containing drawing geometry, a layout contains viewports, which display selected areas of Model Space. Each viewport can be assigned an independent scale. As a result, multiple views of the same drawing can be presented on a single layout without duplicating geometry.
For example, a layout may contain an overall floor plan displayed at 1:100, a construction detail displayed at 1:20 and an enlarged section displayed at 1:10. All three views reference the same Model Space drawing while maintaining independent viewport scales. And for architectural projects, a common workflow is to keep the overall floor plan at 1:100 while using additional viewports to show door or stair details at 1:20.

Viewport
To display Model Space content in a Layout, you need viewports. Think of a viewport as a window cut into the paper sheet—through it, you can see and control exactly what part of the Model Space is visible, and at what scale.
A single layout can contain multiple viewports, each showing different areas or different scales of the same drawing, making it possible to present overviews, details, and sections all on one page without duplicating geometry.

Why Use Layouts Instead of Printing from Model Space?
ZWCAD layout space offers a more efficient workflow for engineering documentation than model space plotting. Each layout features a reusable page setup that saves your printer configurations, paper sizes, and scales, eliminating the need to reconfigure settings for future prints. Since viewports maintain independent scales, you can combine overall views, details, and sections on a single sheet without modifying the original geometry.
This environment provides an accurate print preview within the actual printable boundaries, making it easy to position title blocks and annotations while preventing clipped objects. Ultimately, this approach optimizes drawing management by allowing multiple layouts to reference the same model space file, eliminating duplicate data and simplifying drawing maintenance across large projects.
How to Create and Use Layouts in ZWCAD
Step 1. Configure the Page Setup
The first step in preparing a layout is configuring the page settings.
Open Layout1, then enter the PAGESETUP command to open Page Setup Manager dialog box. Configure the following options according to the intended output requirements.
Within the Page Setup Manager, select the target layout and click "Modify" to access the print configuration interface.

The following table highlights the most frequently used settings in the Page Setup dialog. Additional advanced options are available for specialized output requirements.
| Setting | Description |
|---|---|
| Printer/Plotter | Select the output device. DWG To PDF.pc5 is recommended for PDF publishing. |
| Paper Size | Select the required sheet size, such as ISO A3 (420 × 297 mm). |
| Orientation | Select Landscape or Portrait to match the title block. |

Before saving the page setup, verify the following plotting options:
- Plot Object Lineweights: Enable layer or object lineweights to appear in the printed drawing. If this option is disabled, all objects are plotted using a uniform line thickness regardless of layer settings.
- Plot with plot styles: Enable proper printing using CTB or STB plot style tables. For monochrome engineering drawings, monochrome.ctb is commonly used to convert object colors to black while preserving assigned lineweights.
After the page setup has been saved, the layout displays the selected paper size together with the printable area defined by the output device.
Objects located outside the printable boundary are excluded from the plotted output. Position the title block and all printable content entirely within the printable area.
Step 2. Add the Title Block to the Layout
In ZWCAD, a title block is a standardized panel in the corner of a sheet, displaying drawing title, number, revision, scale, and designer. Created as an attribute block, it allows quick info updates. Inserted into Layout Space at 1:1 scale, it ensures consistent printing.
The title block should be inserted directly into Layout Space, not Model Space. Because the layout represents the physical sheet, the title block should be placed at its actual paper size (1:1).
Enter the XATTACH command to attach your title block:

After insertion, verify the following:
- The title block matches the selected paper size.
- All title block geometry is positioned within the printable boundary.
- Drawing information, revision tables, and company logos remain fully visible inside the printable area.

If a standard title block is available, inserting it as a reusable block or layout template is recommended. This approach improves consistency across multiple projects and reduces repetitive page setup work.
Now you are ready to bring your Model Space content onto the sheet. This is done by creating viewports—the essential connection between your design and the printed page.
Step 3. Create Viewports
Viewports are used to display Model Space geometry within Layout Space. Each viewport functions as a controlled window into the model, allowing different areas or different scales of the same drawing to be presented on a single layout sheet.
Enter the VPORTS command:
- In the Viewports dialog box, select Single viewport.

- Confirm the selection to activate viewport creation mode.
- Define the viewport boundary by specifying two diagonal points within the layout sheet, you can also choose Fit to screen.

After creation, a rectangular viewport frame is displayed in Layout Space. This frame represents the viewing boundary into Model Space.
Viewport interaction depends on the active workspace state:
- Double-click inside the viewport activates Model Space within the viewport.
- Double-click outside the viewport returns control to Layout Space.

When Model Space is active inside a viewport, panning and zooming operations affect only the viewport view and do not modify the actual geometry.
Viewport manipulation does not alter Model Space objects. All geometry remains unchanged regardless of viewport zoom or pan operations.
Step 4. Set the Viewport Scale and Lock the View
Each viewport supports an independent display scale. Viewport scaling determines how Model Space geometry is displayed on the layout sheet without modifying the original drawing.
Open the Properties palette using the PROPERTIES command:
- Select the viewport boundary in Layout Space.
- Set the Standard Scale to the required drawing scale (for example, 1:50, 1:100, or 1:20).
If annotation scaling is used in the drawing, verify that the Annotation Scale matches the viewport scale to ensure annotation objects are displayed correctly.
The selected scale affects only the viewport display and does not modify Model Space geometry.
After the viewport scale has been set, lock the viewport to prevent accidental changes:
- Select the viewport boundary.
- In the Properties palette, set Display Locked to Yes.
The viewport view is fixed. Zoom and pan operations inside the viewport no longer modify the assigned scale.


Viewport locking applies only to the display state. Model Space geometry remains fully editable and unaffected.
Step 5. Hide Viewport Boundaries Using Defpoints Layer
Viewport boundaries are represented by rectangular frames in Layout Space. These boundaries are intended for editing purposes only and are not part of the final plotted output.
If viewport boundary objects remain on printable layers, they may appear in the final drawing output.
To prevent this, viewport boundaries are commonly assigned to the Defpoints layer.
- Select the viewport boundary frame in Layout Space.
- Open the Layer Properties Manager.
- Assign the viewport boundary to the Defpoints layer.
The Defpoints layer is not available by default. It is automatically generated by ZWCAD when you create the first dimension in the drawing. Objects placed on this layer are excluded from plotting by system default.
The viewport boundary is excluded from plotting. Only Model Space geometry displayed inside the viewport is included in the final output.

The Defpoints layer is treated as a non-plotting layer by default. However, plotting behavior depends on the plot configuration and should be verified in the Page Setup settings.
Only the viewport frame is placed on the Defpoints layer. Model Space geometry remains on its original layers and is unaffected by this assignment.
FAQ about Layout
Why is the viewport blank or showing missing drawing?
A blank viewport typically occurs when the viewport view is not aligned with existing Model Space geometry. Activation of the viewport followed by the Zoom Extents command is required. After entering Z, followed by E, the view is automatically adjusted to display all available geometry within Model Space, restoring visibility inside the viewport.
How can a layout be duplicated or copied from another drawing file?
Layout duplication can be performed by importing layouts from existing drawing files. This is achieved by right-clicking a Layout tab, selecting the option to create a layout from a template or external drawing file, and then choosing the required DWG file and target layout. The selected layout is then imported into the current drawing environment.
Will assigning a viewport to the Defpoints layer prevent printing of drawing content?
Assigning a viewport boundary to the Defpoints layer does not affect the plotting of drawing geometry. Only the viewport boundary frame is excluded from printing. All geometry, annotations, and dimensions displayed inside the viewport remain unaffected and are included in the final plotted output.
Best Practices to Use Layout
- Use Model Space for Geometry Only: Model Space should remain dedicated to design creation. Scaling operations for plotting should not be applied to geometry.
- Control Drawing Scale Through Viewports: Viewport scaling should be used exclusively for controlling printed representation. Direct scaling of model geometry is not recommended.
- Lock Viewports After Scaling: Viewport locking prevents unintended modifications during annotation or navigation within Layout Space.
- Use Standardized Title Blocks: Standardized title blocks improve consistency across projects and reduce layout configuration time.
- Maintain Consistent Plot Styles: Consistent use of CTB or STB files ensures uniform lineweight and color behavior across all printed outputs.
Conclusion
Layout Space in ZWCAD provides a controlled environment for preparing technical drawings for output. Through the use of viewports, independent scaling, and page setup configuration, multiple drawing representations can be combined within a single sheet without modifying Model Space geometry.
A properly configured layout workflow improves consistency, reduces plotting errors, and supports scalable documentation across engineering projects.








