Home > ZWCAD > Layout,Plot and Publish Drawin >
Create and Modify Layout Viewports

May 20, 2011

      When you begin working in a drawing on the Model tab, it consists of a single view of your model. You may have created additional views by dividing the drawing space into multiple windows; each window is a separate viewport on the Model tab.

     On a Layout tab, you must create at least one layout viewport to see your model. However, you can create multiple layout viewports that display unique views of your model located in model space.Each layout viewport is created as a separate entity that you can move, copy, or delete.

     Click any layout viewport to make it the current viewport, and then add or modify model space objects in that viewport. Any changes you make in one layout viewport are immediately visible in the other viewports (if the other layout viewports are displaying that portion of the drawing). Zooming or panning in the current viewport affects only that viewport.

Create layout viewports

      The first time you switch to a Layout tab, all of your model space objects disappear. You must create at least one layout viewport on the Layout tab to see your work.

     You can create layout viewports anywhere inside the drawing area. You can control the number of viewports created and the arrangement of the viewports.

To create layout viewports

  1. On the command line, type mview.

  2. Type fit (Fit To View), Create 2 Viewports, Create 3 Viewports, or Create 4 Viewports, or specify two opposing corners to create a custom viewport.

  3. Choose the viewport orientation, type h (horizontal) or v (vertical).

  4. Do one of the following:

  • To arrange the viewports to fill the current graphic area, type fit to screen.

  • To fit the viewports within a bounding rectangle, specify the corners of a rectangle.

TIP When you create a layout viewport, the layout viewport border is created on the current layer. You can make layout viewport borders invisible by creating a new layer before you create layout viewports and then turning off that layer after you create the layout viewports.

      To select a layout viewport's borders, you must turn that layer back on before you can rearrange or modify the layout viewport.



You can create a single layout viewport, or you can divide the graphic area into two viewports arranged vertically (A) or horizontally (B); three viewports arranged left (C), right (D), above (E), below (F), vertically (G), or horizontally (H); or four viewports (I).

Use layout viewports

      Create multiple viewports in layout tab to view objects created in model space, move and scale the objects as well. The multiple viewports created in layouts can be overlapped or separated.

    User can toggle to model space and edit objects in layout viewports within layouts. When ranking layouts in paper space, you can't edit the model. Methods to toggle to model space are shown as follows:

  • Enter Model space by selecting Model tab

  • Double clicking layout viewport. PAPER Status will be changed into MODEL.

  • Click PAPER on status bar, switch to MODEL

     The layout viewport on which you double clicked will be set as current view and enter model space with its frame highlighted. Once a viewport has been changed, all the other viewports display the modifications simultaneously. Additionally, layout viewport owns the superiorities as: optionally freeze the layer in each layout viewport. Thus, you can display different objects in current viewport. Meanwhile, you can pan and scale the objects in viewports to display different views.

      With the grips displayed in the viewport frame, layout viewport is also available for changing the scale that geometrical drawings of model space display in viewports so as to adjust the viewport size. Each viewport can be scaled like other objects using SCALE command, which is only affective to the size of the viewport rather than the scale of the views.

Place Layout Viewports

      User can select to create a viewport fit to the entire layout, and also specify a rectangle area to create layout viewports.

     In the Viewports dialog box, viewports of various standards or named viewport configurations which determined by the pattern you view the drawing and the plotting results are inserted into layouts.

      Viewport configuration that are saved and named in model tab can be positioned in layouts as well. The viewport will be saved as soon as new viewports are ranked and named, and the new viewport names will be added to a list ranked by viewports. Grips on layouts will be displayed once selected, which are used for changing the display proportion of geometry objects created in model space within the viewports. Each viewport can be scaled like other objects using SCALE command, which is only affective to the size of the viewport rather than the scale of the views. To adjust the proportion of views within viewports, you can scale the view by modifying scaling factor. And also specify proportion in the Standard proportion option on Properties tab, Customize option is also available for changing plot scale of viewport objects.

Change the Properties of Layout Viewports

     Like common objects, layout viewports are characterized by object properties such as layer, color, linetype, linetype scale and lineweight. Which are all displayed and changed on properties tab.

     Viewports are created on the current layer so as to control the visibility of the boundaries. User can freeze or set plot configurations for layers in Layer Property Manager to avoid plotting the viewport. The visibility of the boundary is nonassociative to the viewport if they are located in different layers.


To modify layout viewport properties

  1. Make sure you are on a layout tab in paper space.

  2. Double-click the border of the viewport whose scale you want to modify.

  3. In the Properties palette, select Standard Scale, and then select a new scale from the list. The scale you choose is applied to the viewport.

NOTE You can select only layout viewports for modification. If you click a viewport on the Model tab, it makes that viewport active, not available for modification.

Lock the Scale of Layout Viewports

       Some proportions maybe required for displaying details of different hierarchy when creating viewports. If you want to scale the viewport once you have set the viewport scale, the scaling factor changes along with the viewport scales. You can lock the scale factor before scaling to retain the viewport proportion.

       Locks the scale set in the selected viewport. You can modify the geometric drawings in current viewport without changing the viewport scale once the scale is locked. While unlock viewport scale again will disable many commands used for viewing such as VPOINT, DVIEW, PLAN and VIEW.

Control Visibility in Layout Viewports

      Various methods are available for controlling whether to display or hide the layout viewport. All these methods help limiting the regen and highlight different elements of the drawing having been set the Visibility.

Screen Objects in Layout Viewports

       Screening means plotting with little ink. The screening objects will be displayed diminish on paper and screen. Whereas the screening value may not affect the color properties of the objects, only limit the concentration of ink for convenience of distinguish objects after plotting.

       To specify the screening value, you should specify the plot style first, and then define the screening value in plot style editor. The value can be assigned from 0 to 100, if you specify the value to 100, screening will not take effect, that is to plot the drawing without screening. While using screening value as 0 to plot the object without ink, namely make the objects invisible.

Turn Layout Viewports On or Off

         The new layout viewport is under status On by default, until you select turn off. The more objects in model space, the more layout viewports can be created. Thus generating contents of each viewport may affect system capacity. User can control the status of viewport in Properties tab, to save space by turning off some viewports or limiting active viewports. The following figure shows the results with two viewports turned off.


      Once the viewport is turned off, you can copy the viewport without regen each viewport, and the closed viewport will not be plotted. To hide the viewport boundary which you are working on, you can create a specific layer for viewports and then close or freeze the layer.

To turn layout viewports on or off

  1. Click the desired Layout tab.

  2. Type mview and then press Enter.

  3. Type on or off.

  4. Select the edge of the layout viewport to turn on or off, and then press Enter.

Manage Layer Visibility in a Layout

      You can control the visibility of the layer in each layout viewport, and apply the default visibility settings to new viewports and layers.

Freeze Specified Layers in a Layout Viewport

       Freeze or thaw layers on current layout viewports without affecting others. The frozen layers are invisible, either reloaded or plotted. You can freeze the layer to control how the objects are displayed. For example, dimensions can be displayed in specific viewport, as the figure shows below, only the viewport with terrain drawing is frozen.


      Once frozen, the layer in the viewport is invisible. With the layer thawing, its visibility can be restored. User can control the frozen status of layers by clicking Freeze in current viewport option in layer property manager.

Freeze or Thaw Layers Automatically in New Layout Viewports

        Freeze the layer containing those objects that are not expected to display or plot in paper space. For example, freeze the layer on which viewports are created if layout viewport boundaries are not expected to display.

Freeze or Thaw Layers Automatically in New Layout Viewports

       The new created layout viewport is also acceptable for layer visibility settings. For example, freeze DIMENSIONS layer of all new viewports to limit displaying the dimensions. To create viewports with dimensions, you can change default settings for the current viewport. However, changing default settings of new viewport may not affect current viewport.

Freeze or Thaw Layers Automatically in New Layout Viewports

       User can create new layers frozen in all of the existing layout viewports by clicking Freeze in all viewports option in layer property manager. Like wise, cancel the Freeze in all viewports option to thaw layers in all viewports. You can also thaw layers by your decision, with this feature, you can create new layers displayed in single viewports.

Modify Layout Viewports

       Once layout viewports are created in paper space, you can set the viewport as current in which you can edit model objects. Any changes to the layout viewports reflected to model space directly and all other viewports of the modified objects will be displayed.

Change the layout viewport scale

       Specify proportion in the Standard proportion option on Properties tab to determine proportion of each viewport relative to paper space. That is to scale each viewport precisely. Scaling or extension for layout viewport boundaries will not change the scale of views in viewports.

      While working on layouts, the scale factor represents the ratio of actual size of model and the layout size. The ratio generated dividing the model space unit from drawing space unit. For example, a drawing with ratio of 1/3 means one drawing space unit equals to three model space units.

     Changing the plot scale of viewports is also available through ZOOM command or Viewport toolbar.

To change the layout viewport scale

  1. Make sure you are on a layout tab in paper space.

  2. Double-click the border of the viewport whose scale you want to modify.

  3. In the Properties palette, select Standard Scale, and then select a new scale from the list. The scale you choose is applied to the viewport.

Scale Linetypes in Layout Viewports

     Scaling linetypes is enabled to be manipulated based on both drawing units and paper space.

      System variable PSLTSCALE is used to setup linetype scaling factor for objects displayed in different proportion. If PSLTSCALE is set to 1, current linetype is set to dash line, and then draw lines in paper space. Create viewport with proportion of 1x, set this layout viewport as current and then draw lines using the dashes linetype. These two dashes are of the same appearance. If the viewport scaling factor is set to 2x, then the linetype scaling factor of dashes are consistent both in layout and layout viewports.

      Scaling drawing space units if the system variable PSLTSCALE is on, linetype scale is determined by viewport scale. If you set system variable TILEMODE to 0, dashes length of objects in model space is based on drawing units. Linetypes keep the same even if various scaling factors are used for current views. Dash lines share the same length with that of paper space, thus, you can still use LTSCALE and CELTSCALE to control length of dashes.

      The following figure shows: linetype scale on the left has been adjusted to dashes scaled to paper space, regardless of the scale of views. The figure on the right matches the scale of linetype with each view.


Rotate Views in Layout Viewports

       You can rotate the entire view within layout viewports using PLAN command to change current UCS. But the object to be rotated is the view rather than viewport boundary. Using ROTATE command only rotates single objects of the viewport.


Commands Reference

LINETYPE: Loads, sets, and modifies linetypes

MOVE: Displays the plan view of a specified user coordinate system

PLAN: Displays the plan view of a specified user coordinate system

PROPERTIES: Controls properties of existing objects

UCS: Manages user coordinate systems

ZOOM: Sets layer visibility within viewports

Commands Reference

PSLTSCALE: Controls paper space linetype scaling




PrintPrint Get a PDF version of this webpage PDF

© 2017 ZWCAD Software Co., Ltd. All rights reserved. Privacy Policy. Terms and Conditions