MicroStation Tip: Import Linestyles into a DGN Library

Written by: Bob Mecham

Linestyles can be delivered in the workspace two ways.  One option is to point to the Linestyle resource file (RSC) using the variable MS_SYMBRSRC.   The second options is to import a MicroStation linestyle resource file (RSC) into the DGN Library file and then use the MS_DGNLIBLIST variable.

To import a linestyle into a DGN file use the Linestyle Editor dialog box.

1. From the MicroStation pull down menu Element > Line Styles > Edit. The Line Style Editor dialog will appear.

2. From the Line Style Editor dialog pull down menu File > Import > MicroStation Resource File (RSC).

3. Path to the file and click the Open button. The Select Linestyles to Import dialog will appear.

dialog to import linestyle library

4. Select the linestyles in the list and click the Import button.  The linestyles will be imported into the file.

Note: if you want to delete a linestyle name use the keyin “delete unused linestyles [name]”

Bob Mecham

Bob Mecham

Bob is a partner at EnvisionCAD and is an industry expert in the implementation, configuration, instruction, development, and customization of both MicroStation and InRoads.

Tags: , ,

7 comments on “MicroStation Tip: Import Linestyles into a DGN Library

  1. Avatar David Renaud - MWU Reply

    Is there a way to print a list of the line styles? Ideally, it would be with the graphical representation of each line style, but a list of just names would be useful.

    • Avatar David Sullivan Reply

      Good Morning Bob,
      I just looked for the Line Style macro that you talk about in your post for “MicroStation Tip: Importing LineStyles into a DGN library” but I could not find it. It sounds like exactly what I would like to do so we can clean up the Line Styles at GDOT. Would you please show me where I can find that macro? Thanks.
      God bless,
      David

  2. Avatar robert hart Reply

    what is the name of that macro (to draw a line for each linestyle)? is that a free macro?

  3. Avatar Thaddeus Lesnik Reply

    If the custom linestyles are revised (same name, new look) in the DGNLIB is there a process to make an existing drawing use the updated look from the DGNLIB?

    • Bob Mecham Bob Mecham Reply

      If linestyles display has changed, the new linestyles (from RSC or DGNLIB) must be re-imported into the DGN file. This can be done using the custom linestyle tool, or via keyin.

Leave a Reply

Your email address will not be published. Required fields are marked *