I need will get drawing from dgn V8 file for Autocad. And when i export file in dwg or dxf - i get dwg, dxf file with other (changed) styles lines and features. I load this dwg (dxf) file back in microstation - styles changed. Why this happened?saveAsDwgChangeStyles.dgn
Hi Sergey,
please follow this forum best practices. Because it's programming one, to share information about used products, its exact version and used API/language is mandatory.
Sergey Koshevoy said:I need will get information about features from dgn V8 file for Autocad
Sorry, but it's not quite clear what do you mean by "get information about features".
Sergey Koshevoy said:And when i export file in dxf
Is there any reason why you use DXF format. You mentioned AutoCAD, so why to do not save DGN to DWG directly?
Sergey Koshevoy said:What i do not correctly,?
DXF is limited format, so not all information are maintained. Plus, linestyles in MicroStation are more complex than even in AutoCAD / DWG.
Can you share your DGN? It can help to analyze why particular line style is not exported.
But in general, when DGN is exported to DWG (which is better option), it's recommended to use DWG line styles or to configure mapping explicitly.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
it seems (I had a time for very quick check only) that a source of the problem is in the design file structure: It's created using "individual attributes of every element" approach, used as default in DGN V7 time. But AutoCAD approach has always been "use level symbology".
It means, that using default setting, DGN is converted to DWG (I did not try DXF) using "by level" symbology, because it's what AutoCAD prefers. Consequently, individual symbology (elements attributes values) are lost.
To change it, switch off Use Level Symbology Overrides in Save as DWG/DXF options.
BTW Best practice, when it's known DGN will be converted to DWG, is to create DGN "as in AutoCAD", which means to do not use MicroStation hard-coded line styles 0 - 7, always use "by level" symbology etc. To switch MicroStation to DWG mode also helps to follow AutoCAD specifics.