How to PURGE the DGN linetypes from Microstation import?

Symptoms

BricsCAD takes a longer time than AutoCAD to handle/save drawings which contain DGN linetypes which also unnecessary increase drawing size.

Cause

The cause cannot easily be removed. There can be a lot of these linetypes due to previous bugs in AutoCAD which caused accumulation of these linetypes. The recommended approach would be to purge the linetypes, only PURGE does not apply to custom entities such as DGN linetypes.

Solution

As a workaround, there is a compiled DLL file which purges DGN linetypes.

Do the following:

  1. Download the DLL and unzip the file.
  2. Right click on DgnLsPurge.DLL and ensure that it is not blocked.
  3. Launch the NETLOAD command and load DgnLsPurge.dll.
  4. Run the DGNPURGE command.