70000145 LineWeights exported to DGN

Article 70000145
Type General
Product Engine
Date Added 11/5/2014 12:00:00 AM
Fixed (11/5/2014 12:00:00 AM)
Submitted by Carel Viljoen

Summary

How are the line wights of VDF exported to DGN files ?

Solution

VDF supports only these LineWeights :
0 mm   (LW_0)
0.05 mm (LW_5)
0.09 mm (LW_9)
0.13mm
0.15mm
0.18mm
0.20mm
0.25mm
0.30mm
0.35mm
0.40mm
0.50mm
0.53mm
0.60mm
0.70mm
0.80mm
0.90mm
1.00 mm
1.06 mm
1.20 mm
1.40 mm
1.58 mm  (LW_158)
2.00 mm  (LW_200)
2.11 mm  (LW_211)

24 in total plus LW_ByLayer, LW_ByBlock
    
  These are converted to the 0...31 line weights of the DGN using the formula below :
VDF   -->  DGN
LW_0, LW_5 –> 0
LW_9, LW_13 –> 1
15,18,20 –> 2
25 –> 3
30 –> 4
35,40 –> 5
50,53 –> 7
60 –> 8
70 –> 10
80 –> 11
90 –> 13
100 –> 14
106 –> 15
120 –> 17
140 –> 20
158 –> 23
200 –> 29
211 –> 31 
 
and
LW_byLayer –> By Level and LW_ByBlock –> By Level too
UINT VDRAWLW[] = {0, 9, 15, 25, 30, 35, 40, 50, 60, 60, 70, 80, 90, 90, 100, 106, 106, 120, 120, 140, 140, 140, 158, 158, 158, 158, 200 , 200 , 200 , 211, 211, 211};

Send comments on this topic.