DWG to DGN Linestyle issue

I had a user open a dwg in Microstation, then do a Save As to dgn. When I open the file, there are certain linestyles that are not being displayed correctly (small dashes with a "?" symbol). This happens only in my office. It displays fine on the original user's computer\office. The linestyles that don't show are from a client's .rsc file. We both have the same Workspace\settings including MS_SYMBRSRC.

After looking at various scenarios, it seems that the linestyles get written to the dgn during the Save As and that my computer is not reading it correctly from the dgn. In a new file I can draw these linestyles, I can reference>Merge the dwg and display the linestyle correctly. I can open other dgn files and display these linestyles correctly.

I am not sure where to look anymore. Any direction on where to look\check next?  

  • Hi tomorner!
    This is why I don't create Line Styles with text. I drop the text into line work/graphics so if the Font is not available it still displays correctly. Samples always help diagnose the issue. I believe on the other users pc he used a font not available on your pc. That’s why the ?. When you translate dgn files to DWG, the DWG can't read the fonts in a .rsc file so you have an option when you translate to convert the MicroStation (rsc) Font to AutoCAD (shx) Font. The other user may have used the shx font when creating the Line Style and you don't have it on your pc. find the Font he used and place it in the AutoCAD Fonts location on your pc or define the location of the .shx font in the "MS_FONTPATH" variable
    In AutoCAD, when a Line Type is used in the file, it's definition is written to the dwg file. In MicroStation it is typically referencing the Line Style from an external (.rsc) source, but it will read Line Style Definitions written in the dgn file first if there are any. The Fonts used in the Line Style do not get written to the file. To see where it is finding the definition you can go to (Element > Line Style > Custom) In the dialog it lists the source of the definition just above the Preview display of each Line Style.

    I Hope This Helps Someone Reading This!  (Intergraph>PseudoStation>MicroStation user since 1980's)

  • Thank you George. What you described is what is happening. I have 2 versions of C3D installed and the .shx file was located in 1 of the versions that I had. The original user has a different version. I still have to figure out who's reading the file from where, but on my end I found the .shx file, moved it to a sever location and pointed my Configuration to that new location.
  • Hi,

    Since you mention that the line styles are written to your dgn but you have the .rsc file(s) as well, the line style definition(s) in your dgn will 'overrule' the one(s) with the same name in your .rsc file(s)

    Does it help if you Export the line styles from your dgn to a (new).rsc file that is not in the paths defined by MS_SYMBRSRC?

    - Open the .dgn
    - Select Element>Line Styles>Edit



    You may need to reopen the dgn file, after you have exported the styles.

    Should that not help:

    Does that "?" represent a text character, a text or one or more non-Western characters?

    Do you get any warning or error messages in the MicroStation Message Center, like missing a specific font or otherwise?

    I just wonder if a specific font has not been specified in your MicroStation configuration.

    These articles may give you a hint in which direction to search:
    https://communities.bentley.com/products/microstation/w/microstation__wiki/8817.fonts-in-microstation

    https://communities.bentley.com/products/microstation/w/microstation__wiki/microstation-font-configuration-file

    hth

    Regards,

    Henk