Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
MicroStation Wiki Creating a DWG Viewport using MicroStation
    • Sign In

    • -MicroStation Wiki
      • +Learning Tips
      • -MicroStation
        • +3D Printing - MicroStation
        • +Animation - MicroStation
        • +Archive / Backup - MicroStation
        • +Base Geometry - MicroStation
        • +Batch Processing - MicroStation
        • +CONNECT Advisor - MicroStation
        • CONNECT Integration - MicroStation
        • +CONNECTION Client
        • +Cells - MicroStation
        • +Change Tracking - MicroStation
        • +Configuration - MicroStation
        • +Coordinate Systems - MicroStation
        • +Curves - MicroStation
        • +Custom Linestyles - MicroStation
        • +DGN - MicroStation
        • -DWG - MicroStation
          • +Dimensions - DWG - MicroStation
          • +Edit - DWG - MicroStation
          • -General - DWG - MicroStation
            • 3D LineStrings are becoming planar when saved to DWG
            • AutoCAD PGP Files
            • Bentley CONNECT Edition - Autodesk RealDWG(TM) FAQ
            • Bentley V8i (SELECTseries 4) - Autodesk® RealDWG™ 2016 FAQ
            • Bentley V8i - Autodesk RealDWG(TM) FAQ
            • Cannot Copy/Paste Block from DWG to DGN
            • Cannot open Civil3D DWG fully in Microstation.
            • Civil 3D 2022 Object Enabler failure message when opening DWG files
            • Crash when opening any file - Windows error message
            • Creating a DWG Viewport using MicroStation
            • DGN - DWG Terminology
            • DGN reference files in DWG work mode
            • Disable autosave for DWG/DXF files
            • Display of some text in DWG viewports is not scaling correctly
            • DWG DXF Units Alert Box
            • DWGs created in AutoCAD Plant 3D cannot be displayed as Solid
            • Enable "RealDWG 2016" Update for DWG 2015/2016 format in SS3/SS4
            • Having saved my DGN to DWG why am I seeing duplicate Layers with ( Construction )
            • How to attach an ECW raster image to a DWG file within MicroStation?
            • How to download Autodesk REALDWG
            • How to get the DWG units alert box back
            • How to store DWG settings that will be used on a number of files.
            • In a DWG drawing with clipped reference
            • Line Styles And DWG Files
            • Line styles from reference appear as style Continuous
            • Microstation J support for AutoCAD 2004/2005
            • OHM symbol in blocks in DWG is not displayed correctly in V8i
            • Open views do not retain open after closing and reopening DWG
            • Option Save relative path in MS XM when working with DWG is not available
            • Place line string using ACAD line type
            • Prefix \ not working for DWG key-ins
            • RealDWG(TM) [TN]
            • Reference DXF into DXF capability
            • Referencing 3D DWG files to 2D design files elements are not correctly display
            • Supported AutoCAD Keyins
            • When in a DWG the sheet model does not show linestyles
            • Which MicroStation version supports which DWG/DXF version formats?
            • Will MicroStation support the .dwf format?
            • Would like to set up Workspace so DWG/DX...
          • +Open - DWG - MicroStation
          • +Raster - DWG - MicroStation
          • +Save - DWG - MicroStation
          • +Text - DWG - MicroStation
        • +Database - MicroStation
        • +Detailing Symbols - MicroStation
        • +Dimensions - MicroStation
        • +Documentation & Help - MicroStation
        • +Drawing Aids - MicroStation
        • +Exception - MicroStation
        • +FAQ - MicroStation
        • +Feature Based Solids Modeling - MicroStation
        • +File Access - MicroStation
        • +GUI - MicroStation
        • +General - MicroStation
        • +Graphics Display - MicroStation
        • +Groups - MicroStation
        • +Hardware / Input Devices - MicroStation
        • +Import/Export - MicroStation
        • +Installation - MicroStation
        • +Interchange - MicroStation
        • +Interference - MicroStation
        • +Internationalization - MicroStation
        • +Levels - MicroStation
        • +Licensing - MicroStation
        • +Manipulation - MicroStation
        • +Markup / Redline - MicroStation
        • +Measure - MicroStation
        • +Mesh - MicroStation
        • +Models - MicroStation
        • +Multi-Lines - MicroStation
        • +OLE - MicroStation
        • +Other - MicroStation
        • +Parametrics - MicroStation
        • +Patterning - MicroStation
        • +Point Cloud - MicroStation
        • +Printing - MicroStation
        • +Programming - MicroStation
        • +Project Navigation - MicroStation
        • +Properties - MicroStation
        • +RSS Feeds - MicroStation
        • +Reference - MicroStation
        • +Security - MicroStation
        • +Selection - MicroStation
        • +Settings - MicroStation
        • +Sheet Composition - MicroStation
        • +Solids - MicroStation
        • +Standards - MicroStation
        • +Surfaces - MicroStation
        • +Tables - MicroStation
        • +Text - MicroStation
        • +UI Customization - MicroStation
        • +Units - MicroStation
        • +View - MicroStation
        • +Visualization - MicroStation
        • Welcome Page - MicroStation
        • +Accreditation - MicroStation
        • +i.Models - MicroStation
        • +ProjectWise Integration
        • +Raster - MicroStation
    • +Administration Wiki
    • +Annotations Wiki
    • +Bentley View Wiki
    • +MicroStation PowerDraft
    • +Printing and Plotting
    • +Programming Wiki
    • +Visualization Wiki

     
     Questions about this article, topic, or product? Click here. 

    Creating a DWG Viewport using MicroStation

      Product: MicroStation
      Version: V8i, CONNECT
      Environment: N\A
      Area: DWG
      Subarea: General

    The purpose of this article to explain how to create Layout Viewports in a DWG file using MicroStation. First you will need to understand what a viewport is. Next you need to understand the limitations of the DWG file format and how they affect viewport. Then you can understand how to create viewports using MicroStation.

    What is a Viewport?

    There are actually two types of viewports in the DWG file format. The Model Viewport and the Layout Viewport. This article is only covering the Layout Viewport. The Layout Viewport can only be found in a paper space layout (sheet model) of the DWG file. You can think of the Viewport as a window frame or portal that allows the elements in the model space (design model) to be displayed in the paper space layout (sheet model). I relate this to placing a sheet of paper over my model and cutting a hole in the sheet of paper so that you can look through the hole and see the model. Keep in mind that you are looking directly at the model and not a picture or reference of the model.

    What limitations of the DWG file format need to be considered?

    • The DWG format only supports one model space (design model)

    • The layout viewport can only be created in a paper space layout (sheet model).

    • The viewport only displays elements shown in the model space (design model) of the same file.

    • Any layers (levels) turned off globally or globally frozen are turned off throughout the file including in the viewport.

    • You cannot rotate the view in a paper space layout (sheet model)

    Creating a viewport in a DWG file

    You need to keep in mind what the eventual outcome is that you are trying to achieve. You want the elements in model space (design model) to be displayed in the paper space layout (sheet model). The way to accomplish this in MicroStation is to reference the Default Design Model directly into a Sheet Model in the same file. You can use the normal references tools to position the reference on the paper, scale it, clip it or rotate the reference. When the DWG drawing file is saved, the reference is wrote to the file as a viewport. Any other references from external files will not be used to create a viewport and will remain as a reference.

    Creating a viewport when converting a MicroStation file to a DWG file

    Again, you need to keep in mind what the eventual outcome is that you are trying to achieve, along with the limitations of the DWG file format. Since the DWG file format that you eventually want to go to only supports one Model Space (design model), you want to create the design in the Default Design Model. The Default Design Model is corresponding to the DWG Model Space. You can then reference the Default Design Model into a Sheet Model in the same file. You can have more than one sheet model in the file and it does not matter which sheet model you reference into as long as it is in the same file as the Default Design Model being referenced. You can use the normal references tools to position the reference on the paper, scale it, clip it or rotate the reference. Do not rotate the view in the sheet model, this is not supported in the DWG file format. When the MicroStation drawing file is converted to a DWG drawing, the Default Design Model that is referenced into the Sheet Model, of the same file, is wrote to the DWG file as a viewport. Any other references from any model other than the Default Design Model of the same file will not be used to create a viewport. They will be converted according to the settings in the Save As DWG Options.

    Helpful Hints

    • The DWG file does have some limitations that don’t exist in the MicroStation file format. It is highly recommended that if the drawing is eventually going to be a DWG file, you should always work within the Limitations of the DWG file format.

    • MicroStation includes a DWG Workmode that disables some advanced MicroStation functionality to ensure that you do not create DWG-incompatible features.

    • DWG workmode is automatically enabled when a DWG file is opened.

    • When you are working in a DGN file, you can also manually set the workmode to DWG. Set the variable MS_WORKMODE = DWG.

    See also

    Other language sources

      Original Author: Rick Ruth
    • Viewport
    • MicroStation
    • DWG
    • Share
    • History
    • More
    • Cancel
    • Rick Ruth Created by Rick Ruth
    • When: Thu, Mar 12 2015 10:43 AM
    • Andrew Bell Last revision by Bentley Colleague Andrew Bell
    • When: Wed, Jun 12 2019 9:40 PM
    • Revisions: 3
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies