Hi,
I work a lot with mapping to authorities, and they have many requirements regarding line styles.
One requirement is to have line styles that are not "broken" at breakpoints, you want the line style complete throughout the mapped line.
When using "Run through corners" in MS (v8i and CONNECT) the setting is not retained when exporting to dwg, how come? Does anyone know any solution to this? How can I get the line style to maintain "run through corners" in to my exported file.Kind Regards,Elin
Your provided DGN file doesn't contain linestyles it has only AGOSLAGSSGRAN embedded linestyle but körbana1000 and gångbana1000 is missing because it is linked to RSC and not embedded. For AGOSLAGSSGRAN I see the "single segment" option is enabled which somewhat mimics same behaviour as in ACAD and it changes to "linetype generation" enabled/disabled when exportd. So it seems to convert correctly to "run through corners" if "single segment" option in MS linestyle is disabled see attachment. In ACAD this is not linestyle attribute but element attribute how to display the linestyle in 2D/3D mode. Interesting that using export to DWG from MS and not save as I also got the one file without linestyles at all which was weird but can't repeat this behaviour. So there could be actually hidden issues still present what seems is happening that linestyle definition is higher priority than "Run trough corners" so it is ignored when converting and all lines are set according to linestyle definition. That is alarming as it actually can result in what you provided that after save back and forth from to DWG it is actually lost.
P.S. It would be better to import all RSC lines to DGNLIB so no need to send RSC files when delivering DGN and also additional benefit is that Windows Explorer DGN preview handler then can show embedded lines. Unfortunately for DWG it is only possible to embed lines which don't use symbols only strokes and text otherwise SHX is still needed. There is one option - "drop unsupported custom lines" on export but customer again will not be happy but at least it will look exactly as in MS. Also using RGB colors and Truetype fonts allows to avoid need for Remap table for DWG conversion.
test_dgn_run_through2.dwg
You're welcome. Going back and forth between systems has always been a challenge because there are some things that just do not work the same (or at all!).
Good luck!
MaryB
Power GeoPak 08.11.09.918Power InRoads 08.11.09.918OpenRoads Designer 2021 R2
Thank you very much for a well-written statement regarding DGN, DWG and line styles.
It was just something like this I wanted to hear, from someone with good knowledge and background.
In the future, we will probably also send a DGN file to our customers to demonstrate what the original looks like.
Thanks again for taking the time to respond.
/Elin
OK, let me get this straight.
I'll start with 4 first. DWG linestyles do not have the same capability as DGN linestyles. They are not written into nor used by the program in the same way. AutoCAD linestyles will always break at the corners because that's how AutoCAD defines the linestyles. This will happen regardless of using MicroStation or AutoCAD - it is part of the DWG drawing format. There is nothing to be done.
With 3, DWG 3D polylines do not display with a linestyle. See https://forums.autodesk.com/t5/autocad-map-3d-forum/imported-3d-polylines-will-not-change-to-layer-style-line-types/td-p/3456870However, depending on the version of AutoCAD you have, you may be able to change a setting to make things look better. See https://forums.autodesk.com/t5/civil-3d-forum/3dpoly-line-display/td-p/7850642If you do not have AutoCAD, you may be out of luck, but you could certainly pass that information on to your client.
For 2, you could just be seeing the difference between the 3D representation of an element and the 2D version. Again, elevation differences can change the way linestyles appear because a 3D line is longer than the 2D representation of it.
I think the biggest problem you have is that you are creating 3D polylines (which will not display with a linestyle at all), and you want DWG files to do something that DWG format simply cannot do. Microstation has no control over what is or isn't possible in DWG format, because Bentley didn't develop the DWG format. It may be helpful to ask about your DWG files over on the AutoDesk website
Elin Skoog said:When using "Run through corners" in MS (v8i and CONNECT) the setting is not retained when exporting to dwg
Do you have an example of an AutoCAD line style that works the way you want in AutoCAD? If so, you can import it into MicroStation. Then use that line style in MicroStation and see if that improves your DWG export result.
Regards, Jon Summers LA Solutions