Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
MicroStation Wiki Re-Mapping ByLevel Color When Saving To DWG [CS]
    • 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
          • +Open - DWG - MicroStation
          • +Raster - DWG - MicroStation
          • -Save - DWG - MicroStation
            • AutoCAD Warning Message
            • Batch Convert to DWG Failed "Unable to save...Status 77847"
            • Circles or Spheres appear hexagon like when saved to DWG
            • Complex chains are not exported to DWG
            • Complex Shapes created using LineStyles results in Smart Solid of Line Style 0 when saved to DWG
            • DGN sheet model rotated when saving to DWG
            • Disabling DWG Auto-save
            • Exporting to DWG fonts not filled and clip masks not shown
            • Fence Clip Export to DWG
            • Graphic group not retained in DWG files
            • How the Tag placement & attribute changes can affect the naming convention of cells/blocks when saving to DWG
            • How to Change all elements to zero elevation when saving to DWG file.
            • How to Change DWG/DXF Version on File Save
            • How to change rule lines for DWG Solids.
            • How to control the smoothness of curved solids when saving DWG.
            • How to convert a DGN file to DWG
            • How to convert all of the cells in a cell library to AutoCAD (DWG) blocks
            • How to create an SHX font from a MicroStation font
            • How to export more than one design model from DGN to DWG
            • How to get desired unit settings Save As DWG
            • How to maintain the level display when saving to DWG.
            • How to remove XDATA from an imported dgn
            • How to save DWG settings for opening and saving DWG files
            • +How to save only model or sheet model when saving to DGN
            • How to save to DWG and maintain color numbers
            • How to unlock the locked proxy elements
            • In AutoCAD elements show correct Z value but in MicroStation shows invalid Elevation
            • Incorrect display after converting a DWG file to DGN
            • New DWG features supported in MicroStation CONNECT
            • No Viewport when converted to DWG
            • Out of memory exporting DGN with Solids
            • Procedure for converting a master file (with references) to a single merged DWG file.
            • Re-Mapping ByLevel Color When Saving To DWG [CS]
            • Reference file name appears in the levels names
            • Remap DWG layers to client library levels
            • Remapping linestyle scale in Linestyle sheet is not working
            • Save as DWG and merged Ref levels display is turned on
            • Save as DWG Error "Unable to open seed file <filename>.dwg"
            • Save dgn with empty data field to dwg.
            • Save dwg to V7 and tags do not appear
            • Save Levels in DWG
            • Save only one textured cell/element from DGN to DWG
            • Save Relative to Master File option
            • Save to different DWG version
            • SaveAs DWG/DXF Option Dialog, Reference Tab
            • Saves to DWG and gets questions marks and asterisks for the text
            • Saving A DGN To DWG
            • Saving a DGN to DWG & the line styles are not displaying correctly
            • Saving cells in DWG format
            • Saving to dwg and Graphic Groups are lost
            • Saving to DWG the Levels in the file do not match the original DGN file
            • Saving to DWG, and the elements are coming over even though the level is turned off
            • Selecting DWG Options causes MicroStation to freeze
            • Shapes created by the "Place Block" command results in "3D face" elements in AutoCAD.
            • Sheet Model displayed incorrect when DGN is converted to DWG
            • Sheet model does not convert to DWG Layout
            • Smart Solids turn into Mesh when saving as DWG
            • Solids are dropping to wireframe when saving to DWG format
            • Translating a DGN file that has an Batten linestyle placed
            • Unable to convert a .dgn file to a .dwg and keep one Raster image
            • Unable to locate Excel template workbook
            • Unable to open seed file: seed.dwg
            • Unable to save design file message received
            • Viewport Freeze per View Level Display
            • When Saving would like Logical name of Ref files
          • +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
    • +Programming Wiki
    • +Visualization Wiki

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

    Re-Mapping ByLevel Color When Saving To DWG [CS]

      Product: MicroStation
      Version: V8 2004, XM, V8i, CONNECT
      Environment: N\A
      Area: DWG
      Subarea: Save


      

    This Client Server article is republished in its entirety from 2004 for reference purposes.

    By Bentley Technical Support Group
    02 January 2004 Modified: 12 January 2005

    Re-Mapping ByLevel Color

    Have you ever had trouble re-mapping ByLevel color when saving to DWG? If so, this article will guide you through that task.

    Whenever the Levels Mapping table is used for ByLevel color, the mapping of the color will come from the original file.

    For example, look at the process of saving a DGN file to a DWG file. If the ByLevel color of Level 1 is set to "3" in the DGN file, and the ByLevel color in the Level Mapping table is set to "1", the color will be re-mapped to blue (MicroStation Color 1)- not to the red (AutoCAD Color 1) that was expected. The blue color is coming from the active MicroStation Color table, which was used in the DGN file.

    In the .csv file you will need to use two of the eight tabs: Levels and Colors. Here are the steps for setting up the .csv file:

    1. In the Levels Mapping table, place the original level name in the Level column. This will be the level name in the DGN drawing file.
    2. Place the name of the level for the DWG drawing file in the DWGOutputLayer. This will be the name that you want the DWG drawing file to use.

    3. Fill in the ByLevel columns, leaving the Color column blank. These columns can remain blank if no style and weight are assigned to the level. 

        
    4. Switch to the Color Mapping table and place a check mark in "Show Optional Columns." By checking this box, you can now use re-mapping qualifiers.
    5. Place "%unmapped" in the Color column. "%unmapped" tells the Mapping table that you want to choose any color that is not already mapped.
    6. Place the original level name in the Level column, the first column in the Optional Columns. The level name used here is the original level name. This limits this entry in the mapping table so that it only applies to elements on this level.

    7. Place "95" in the ElementType column. This is the element type number for levels. Using Element Type 95 here will mean that that entry in the Mapping table will only apply to Element Type 95 (levels) and not to any other elements.

      Note: The combination of the two qualifiers, levels, and element type means that the entry is effecting only level information (Element Type 95) on the level specified in the Level column.

    8. Place the desired color for the ByLevel color in the DWGOutputColor column. Make sure to include the suffix "ac." This will ensure that the AutoCAD color is used. When MicroStation saves files to DWG, by default it maps the color indices in the DGN color table to the closest color in the (fixed) AutoCAD color table. If the DWGOutputColor entry is a color in the file's color table, simply enter the number of the color in the DWGOutputColor column. If a fixed index in the AutoCAD color table is desired (i.e. if you do not want the color matching to be applied), enter the AutoCAD color number with the suffix "ac" (e.g. "15ac").
    9. Add "%unmapped" in the level column and "%ByLevel" in the DWGOutputLayer to have the elements use the ByLevel settings.
    10. Repeat steps 4-8 for each of the levels needed.

    By using the re-mapping qualifiers, we are able to assign an AutoCAD color to the Mapping table and have it map to the correct AutoCAD color. We do this by selecting a color using a specific Level name and an element type to be mapped to an AutoCAD color.

    See also

    Other language sources

      Original Author: Bentley Technical Support Group
    • Archived Client Server
    • client server
    • client server 2004
    • Share
    • History
    • More
    • Cancel
    • Elisa McGraw Created by Elisa McGraw
    • When: Fri, Jul 17 2009 12:03 PM
    • Andrew Bell Last revision by Bentley Colleague Andrew Bell
    • When: Thu, Jun 13 2019 12:09 AM
    • Revisions: 16
    • 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