Paper space viewports

Commands: MVIEW, MVSETUP, ALIGNSPACE and VPCLIP

The Mview command creates one or more viewports in layout tabs (short for "make viewports").

The MvSetup command creates multiple viewports; in model space the command creates a rectangle, representing a paper sheet with respect to a specified scale.

The AlignSpace command adjusts viewport angle, zoom factor and pan position based on alignment points specified in model space and paper space.

The Vpclip command clips viewports in layouts (short for "view port clipping").

In a layout you can create multiple viewports each of which displays a unique view of the entities created in model space. Each layout viewport functions as a window into your model space drawing. You can control the view, scale, and content of each layout viewport separately.

A layout viewport is created as a separate entity that you can copy, delete, move, scale, and stretch as you would any other drawing entity. You can snap to the viewport borders using entity snap. When you are working in model space with floating viewports (see Toggle between model space and paper space), click any layout viewport to make it the current viewport, and then add or modify model space entities 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.

Each viewport has its own layer visibility settings. You can also turn off the display of the content of a viewport.

To preserve the scaling of a viewport you can lock the display. It is no longer possible to zoom or pan in a locked viewport.

Apart from viewports, you can add print-related entities in a paper space layout that are not essential to the model itself, such as keynotes, annotations, title blocks, etc. Such entities are part of a specific paper space layout and do not appear in other layouts or in model space.

When you are working in a layout, either Model Space or Paper Space is your current workspace. The Workspace field in the Status Bar indicates which workspace is current: M:<Layout Name> indicates you are working in Model Space, while P:<Layout Name> means Paper Space is the current workspace.

 

Model Space, with floating viewports of layout PLAN

Paper Space of layout PLAN

Displaying the paper sheet and the printable area

  1. Viewport

  2. Printable area.
    The display of the printable area is controlled through the DISPPAPERMARGINS system variable.

  3. Paper sheet.
    The display of the paper sheet is controlled through the DISPPAPERBKG system variable.

 

Creating viewports in a layout

Command: MVIEW
  1. Click the appropriate layout tab at the bottom of the drawing window.

  2. Do one of the following:

  3. Click the Paper Space Views tool button () on the Views toolbar.

  4. Choose Paper Space Views in the Views menu.

  5. Type mview at the command prompt, then press Enter.

The command bar reads: Viewports. ON/OFF/Fit/2/3/4/<First corner>:

A prompt menu opens:

  1. (option) To add 1 viewport. do one of the following:

  2. Click to specify the first corner of the viewport, then specify the opposite corner.
    A single viewport which fits in the specified rectangle is created.

  3. Choose Fit to view in the prompt menu or type F, then press Enter.
    A single viewport which fits in the current drawing display window is created.

  1. (option) To create 2 viewports, do one of the following:

  2. Choose Create 2 viewports in the prompt menu.

  3. Type 2 in the command bar, then press Enter.

The command bar reads. Two viewports: Horizontal/<Vertical>:

 

Option

Result

Horizontal

Vertical

 

The command bar reads: Fit to screen/<First corner of bounding rectangle>:

  1. Click to specify the first corner of the bounding rectangle, then specify the opposite corner.
    Two viewports which fit in the specified bounding rectangle are created.

  2. Choose Fit to view in the prompt menu or type F, then press Enter.
    Two viewports which fit in the current drawing display window are created.

  1. (option) To create 3 viewports. do one of the following:

  2. Choose Create 3 viewports in the prompt menu.

  3. Type 3 in the command bar, then press Enter.

The command bar reads. Three viewports: Horizontal/Vertical/Above/Below/Left/<Right>:

 

Option

Result

Horizontal

Vertical

Above

Below

Left

Right

 

The command bar reads: Fit to screen/<First corner of bounding rectangle>:

  1. Click to specify the first corner of the bounding rectangle, then specify the opposite corner.
    Three viewports which fit in the specified bounding rectangle are created.

  2. Choose Fit to view in the prompt menu or type F, then press Enter.
    Three  viewports which fit in the current drawing display window are created.

  1. (option) To create 4 viewports. do one of the following:

  2. Choose Create 4 viewports in the prompt menu.

  3. Type 4 in the command bar, then press Enter.

 

Option

Result

Create 4 viewports

 

The command bar reads: Fit to screen/<First corner of bounding rectangle>:

  1. Click to specify the first corner of the bounding rectangle, then specify the opposite corner.
    Four viewports which fit in the specified bounding rectangle are created.

  2. Choose Fit to view in the prompt menu or type F, then press Enter.
    Four viewports which fit in the current drawing display window are created.

  1. (option) To create a non-rectangular (clipped) viewport using an existing polyline or circle, do one of the following:

  2. Choose Object in the prompt menu.

  3. Type O in the command bar, then press Enter.

The command bar reads: Select Object to clip viewport.

Select a closed polyline or a circle in the layout.

  1. (option) To create a non-rectangular (clipped) viewport, do one of the following:

  2. Choose Polygonal in the prompt menu.

  3. Type P in the command bar, then press Enter.

The command bar reads: Specify start point:

Specify the vertices of the non-rectangular viewport. Right click or press Enter to create the viewport.

 

NOTES

  • Make sure no other viewports display when choosing the Fit to view option because they will be hidden behind the newly created viewport.

  • Each newly created viewport shows all entities on the layers which are currently visible in model space.

  • Since a new viewport is created on the current layer it is recommended to use a dedicated layer for viewport entities. Make this layer current when you want to add a new viewport. If you don't want the viewport outlines to be printed, set the Do Not Plot property of the viewport layer.

  • Only circles and closed polylines can be used to create a clipped viewport. If you want to create an elliptical viewport, use the Polyline Ellipse variable to create a polyline representation of an ellipse.

  • To select a clipped viewport do the following: Click the viewport border. Both the viewport and the clipping polygon are selected then, as indicated in the Properties Bar: the list button caption reads: All (2). Press the list button and select Viewport to see the properties of the viewport.

Creating an array of layout viewports

Command: MVSETUP

  1. Type mvsetup in the command bar.
    The command bar reads: Enter an option [Align/Create/Scale viewports/Undo]:

  2. Do one of the following:

  3. Type C in the command bar, then press Enter.

  4. Choose Create in the context menu.

The command bar reads: Enter an option [Delete objects/Create viewports/Undo] <Create>:

  1. Press Enter to accept the default option.
    The command bar reads: Enter choice for layout options <0-3> [none(0)/single(1)/std. engineering(2)/array of viewports(3)] <0>:

  2. Do one of the following:

  3. Type 3 in the command bar, then press Enter.

  4. Choose Array of Viewports in the prompt menu.

The command bar reads: Specify first corner of bounding area for viewport(s):

  1. Pick a point in the layout.
    The command bar reads: Other corner of rectangle:

  2. Pick a second point in the layout.
    The command bar reads: Enter number of viewports in X direction <1>:

  3. Specify the number columns in the array.
    The command bar reads: Enter number of viewports in Y direction <1>:

  4. Specify the number of rows in the array.
    The command bar reads: Specify distance between viewports in X direction <0.000>:

  5. Do one of the following:

  6. Press Enter, to create contiguous viewport columns.

  7. Specify the horizontal distance between the viewports.

The command bar reads: Specify distance between viewports in Y direction <horizontal distance>:

  1. Do one of the following:

  2. Press Enter to set the vertical spacing equal  to the horizontal spacing.

  3. Type 0 (zero) to create contiguous viewport rows.

  4. Specify the vertical spacing between the viewports.

The viewports are created.

  1. Press Enter to conclude the command.

To clip a viewport

Command: VPCLIP

  1. Type vpclip in the command bar, then press Enter.
    The command bar reads: Select viewport to clip:

  2. Select the viewport.
    The command bar reads: Polygonal <Select clipping object>:
    A prompt menu displays.

  1. Do one of the following:

  2. Select the clipping object.

  3. Choose Polygonal in the prompt menu or type P, then press Enter.
    You are prompted to draw a polyline.

The viewport is clipped.

 

NOTE

  • Only closed polylines and circles are accepted as clipping boundaries.

  • If you want elliptical viewports, use the polyline representation to create the ellipses.

To remove the clipping boundary of a viewport

Command: VPCLIP

  1. Type vpclip in the command bar, then press Enter.
    The command bar reads: Select viewport to clip:

  2. Select a clipped viewport.
    The command bar reads: Polygonal/Delete<Select clipping entity>:

  3. Do one of the following:

  4. Type D, then press Enter.

  5. Choose Delete in the prompt menu.

Defining viewport properties

  1. Select the viewport.
    If you select a clipped viewport, click the Selected Entities button on top of the Properties Bar, then choose Viewport in the list.

The viewport properties display in the Properties Bar.

If you select a clipped viewport, click the Selected Entities button on top of the Properties Bar, then click Viewport in the list.

  1. Click the settings field of a property to modify.

Properties

Name

Description

Center

XYZ coordinates of the center point of the viewport.

To specify the center of the viewport graphically, drag the center handle of the viewport.

Height (*)

Height of the viewport in drawing units.

To specify the height of the viewport graphically, drag the top or bottom handle of the viewport.

Width (*)

Width of the viewport in drawing units.

To specify the width of the viewport graphically, drag the left or right handle of the viewport.

On

Controls the display of the content of the viewport.

Clipped

Allows to create non-rectangular viewports.

Display locked

Locks the scaling of the viewport content to preserve the scaling factor.

Standard scale (*)

Lets you choose a standard scaling factor.

The SCALELISTEDIT command allows to edit the available scales in the current drawing.

Custom scale (*)

Lets you define the scaling factor in a decimal format. Displays the current scaling factor.

UCS per viewport

If Yes, lets you define a UCS for this viewport.

Shade Plot

Defines how the viewport will be plotted.

The options are:

(*) You must choose the width and height of a paperspace viewport with respect to the viewport scale.

Navigating in a paper space layout

View manipulation commands, such as zoom, pan and view manipulation using the mouse, act slightly different in a paper space layout compared to model space (with tiled viewports).

If you are working in paper space (no viewport selected), view manipulation commands act on the complete paper space layout.

If you are working in a viewport (model space with floating viewports), view manipulation commands act on the active viewport only. Except if the display of the current viewport is locked, then the view manipulation commands act on the complete paper space layout.

 

NOTE

It is not possible to rotate the display of a paper space layout.

View Rotate commands are available in viewports of which the display is not locked only.

Setting the layer visibility in a viewport

  1. Do one of the following:

  2. If Paper Space is the current workspace: double click inside the viewport to make it the current viewport.

  3. If Model Space with floating viewports is the current workspace: click inside the viewport to make it the current viewport.

  1. Do one of the following.

  2. Click the Layers... tool button on the Settings toolbar.

  3. Choose Layers... in the Settings menu.

  4. Type layer in the command bar, then press Enter.

The Drawing Explorer - Layers window opens.

  1. In the Curr. VP (Current Viewport) column:

  2. click the frozen icon () of the layer(s) you want to thaw.

  3. click the thawed icon () of the layer(s) you want to freeze.

  1. Close the Drawing Explorer - Layers window.

  2. (option) Repeat steps 1 through 4 to set the layer visibility in another viewport.

 

NOTE

Use the Viewports / Vpfreeze option of the LAYOFF and LAYFRZ commands to freeze layers in a viewport by clicking entities.

 

Setting the scale of a viewport

  1. Make sure the Plot Scale property of the layout is set correctly.

  2. Switch to paperspace.
    (See Toggle between model space and paper space)

  3. Click the viewport border.
    The viewport properties display in the BricsCAD Properties Bar.

  4. Do one of the following:

  5. Choose a scale in the Standard scale list.

  6. Type a scaling factor in the Custom scale field.

  1. (option) If necessary, adjust the size of the viewport to the new scale.

  2. (option) Set the Display Locked property to Yes.

NOTE

In a locked viewport it is impossible to:

  • zoom, pan or rotate the view

  • modify the scale

Setting the scale of a selection of viewports

Command: MVSETUP

  1. Make sure the Plot Scale property of the layout is set correctly.

  2. Type mvsetup in the command bar.
    The command bar reads: Enter an option [Align/Create/Scale viewports/Undo]:

  3. Do one of the following:

  4. Type S in the command bar, then press Enter.

  5. Choose Scale viewports in the prompt menu.

The command bar reads: Select entities

  1. Select the viewports.

  2. Press Enter or right click to stop selecting viewports.
    The command bar reads: Set the scaling mode of viewports: Interactively/<Uniform>:

  3. Do one of the following:

  4. Press Enter to set the scale of the selected viewports uniformly.
    The command bar reads: Enter the number of paper space units <1.0>:

  5. Choose Interactively in the prompt menu or type I, then press Enter.
    The first viewport in the selection set highlights.
    The command bar reads: Enter the number of paper space units <1.0>:

  1. Press Enter to conclude the command.

To rotate the display in a viewport

The display of a layout viewport can be rotated only if the display of the viewport is not locked.

If the VPROTATEASSOC system variable is ON, the ROTATE command rotates the content of a viewport over a specified angle.

The Align > Rotate option of the MVSETUP command rotates the content of a viewport relative to the X-axis of  the world coordinate system (WCS).

Rotating the viewport display

  1. Select the viewport, then right click and choose 2D Rotate in the context menu.
    The command bar reads: Rotation point.

  2. Use the Center ( ) entity snap to select the center point of the viewport as the rotation point.
    The command bar reads: Copy/Base angle/<Rotation angle> <0>:

  3. Type the rotation angle, then press Enter.

  4. The content of the viewport is rotated over the specified angle.

Defining the rotation angle of the viewport display

  1. Type mvsetup in the command bar.
    The command bar reads: Enter an option [Align/Create/Scale viewports/Undo]:

  2. Do on of the following:

  3. Type A in the command bar, then press Enter.

  4. Choose Align in the prompt menu.

The command bar reads: Enter an option [Angled/Horizontal alignment/Vertical alignment/Rotate view/Undo]:

  1. Do one of the following:

  2. Type R in the command bar, then press Enter.

  3. Choose Rotate view in the prompt menu.

The command bar reads: Specify basepoint in the viewport to be rotate:

  1. Specify the rotation point in the viewport.
    The command bar reads: Specify rotation angle:

  2. Type the rotation angle in the command bar, then press Enter.
    The viewport display is rotated over the specified angle with respect to the X-axis of the WCS.

 

NOTE

Type 0 (zero) in the final step of the above procedure to undo the rotation of the viewport display.

To align viewports

Command: MVSETUP

  1. Type mvsetup in the command bar.
    The command bar reads: Enter an option [Align/Create/Scale viewports/Undo]:

  2. Do on of the following:

  3. Type A in the command bar, then press Enter.

  4. Choose Align in the prompt menu.

The command bar reads: Enter an option [Angled/Horizontal alignment/Vertical alignment/Rotate view/Undo]:

  1. Do one of the following:

  2. To align two viewports horizontally:

  3. To align two viewports vertically:

To align model space and paper space points

Command: ALIGNSPACE

Aligning 1 point

  1. Type alignspace in the command bar, then press Enter.
    The command bar reads: First alignment point in Model space:

  2. Click inside a layout viewport, then pick a point.
    The command bar reads: Second alignment point in Model space or <Return> for none:

  3. Right click or press Enter.
    The command bar reads: Alignment point in Paper space:

  4. Pick a point in the layout.
    The command bar reads: Activate the viewport which will be used for alignment.

  5. Click inside the viewport you want to align.

  6. Right click or press Enter to confirm.
    The display in the selected viewport is moved to make the two points coincident.

Aligning 2 points

  1. Type alignspace in the command bar, then press Enter.
    The command bar reads: First alignment point in Model space:

  2. Click inside a layout viewport, then pick a point.
    The command bar reads: Second alignment point in Model space or <Return> for none:

  3. Pick a second point in the layout viewport.
    The command bar reads: First alignment point in Paper space:

  4. Pick a point in the layout.
    The command bar reads: Second alignment point in Paper space:

  5. Pick a second point in the layout.
    The command bar reads: Activate the viewport which will be used for alignment.

  6. Click inside the viewport you want to align.

  7. Right click or press Enter to confirm.
    The display in the selected viewport is moved, rotated and/or scaled to make the points two by two coincident.

 

 

 


© Menhirs NV. All rights reserved.