70002359 LineWeights are not mapping properly from and to DGN file

Article 70002359
Type Bug
Product DGN
Version 1003
Date Added 5/23/2023
Fixed 10.1004.0.3 (5/23/2023)
Submitted by Marty Isaacs

Summary

LineWeights are not mapping properly from and to DGN file

Solution

Fixed in version 1004.0.3

The foloowing conversion is used:

conversion from dgn to vdf
DGN -> VDF
-----------------
0        LW_0          (0 mm)
1        LW_13        (0.13 mm)
2        LW_30        (0.3 mm)
3        LW_40        (0.4 mm)
4        LW_53        (0.53 mm)
5        LW_70        (0.70 mm)
6        LW_80        (0.80 mm)
7        LW_100      (1 mm)
8        LW_106      (1.06 mm)
9        LW_120      (1.2 mm)
10      LW_140      (1.4 mm)
11      LW_158      (1.58 mm)
12      LW_158      (1.58 mm)
13      LW_158      (1.58 mm)
14      LW_200      (2 mm)
15      LW_211      (2.11 mm)
>15    LW_211      (2.11 mm)

conversion from vdf to dgn
VDF  ->    DGN
--------------------
LW_0         0
LW_5         0
LW_9         0
LW_13       1
LW_15       1
LW_18       1
LW_20       1
LW_25       1
LW_30       2
LW_35       2
LW_40       3
LW_50       3
LW_53       4
LW_60       4
LW_70       5
LW_80       6
LW_90       6
LW_100     7
LW_106     8
LW_120     9
LW_140     10
LW_158     12
LW_200     14
LW_211     15

NOTE:the VDF line weights are in hundredths of millimeters in output device
example if a display is 96 dots per inch(dpi) then the LW_30 is drawn using (96 x 0.3 / 25.5 = 1.13 pixels rounded to 1 pixel

Send comments on this topic.