70001491 DGN custom Linetytes import

Article 70001491
Type Wish
Product Engine
Version 8001
Date Added 1/28/2019
Fixed 8.8002.0.1 (2/4/2019)
Submitted by Dominique Premillieu

Summary

DGN custom Linetytes import. What I would like is an option to NOT lose the custom line style name (ST_HTA_CLA_V3 in my example)when opening the file in VDF; I would then be able to pre process the file and use a look up table to substitute line styles

Solution

In version 8002.01
The following standard default Linetypes are supported when converting from/to dgn files
SOLID, DOT0, DASHED, DASHED0, DASHDOT, HIDDEN, DASHDOTDOT0, DASHDOT0


When open a dgn with a custom linetype a new linetype with the custom linetype name that ends with '_vdfdgn' is added with zero segments (display as solid lines)
In the vdDocument.OnAfterOpenDocument event, Developer can search these line types that end with '_vdfdgn' and change their Segments property as he likes.
When saving a vdml/vdcl file to dgn, line types other than the default are created with same name (if name ends with '_vdfdgn' then this linetype will be saved without the _vdfdgn at the end) and with zero Segments

Send comments on this topic.