Any ideas how to check which lines are missing shp symbols when opening a DWG file? The message "could not find SHX font [dgnlstyle]" is not very informative as I would like to know which line was not correctly converted to DWG. The missing symbols are replaced with dots or question marks but it is only visual indicator or is there some way to actually scan and find those broken lines?
Hi Oto, if you please share the file I will search for a way to scan all the elements with the not converted SHP symbols.
DWG line styles are a subset of MicroStation line styles. Because of this disparity, there are several features in MicroStation line styles that do not translate directly to DWG. Some features are lost in the translation, while other line styles will not translate at all.
I suggest checking the path where MicroStation searches the SHP fonts in these two variables MS_FONTPATH and MS_DWGFONTPATH. Check this articlecommunities.bentley.com/.../fonts-in-microstation
Because all point symbols in DWG line styles must be represented as shapes in an SHX shapefile, the elements in the point symbol are converted to a shape during the translation. The font file is named dgnlstyle.shx and will appear in your DWG fonts directory just like other fonts. Check these configuration variables: MS_DWG_LSTYLE_FONTPATH determines the location for the font file. MS_DWG_LSTYLE_FONTNAME determines the name of the font file (and therefore the name of the font)
I suggest looking closely at this article:communities.bentley.com/.../line-styles-and-dwg-files
But is there a way to find out where or how the missing fonts were used?
We can see messages that fonts are missing. We can look for the missing fonts, but we don't know what those fonts were FOR.
"Dgnlstyle.shx" doesn't tell me which linestyles were using whatever can't be found.
Power GeoPak 08.11.09.918Power InRoads 08.11.09.918OpenRoads Designer 2021 R2
There is active SR (7001254219) regarding this as old MS_ACADDIR also doesn't seem to work the same it used in v8i.
Will try these variables but original question is not regarding how to provide correct SHX but how to check which lines are not DWG compatible as there is no indication which are unsupported only when converting. The hardcoded workflow that creates dgnlstyle.shx in some system directory is bad approach and doesn't solve any real issues. After conversion checking file on same computer shows correctly but no option to check which SHX files are linked to this DWG. Users forget to include dgnlstyle when delivering DWG so it is too obscured.
The ticket is assigned to my colleague, as soon as possible you will receive assistance. With the files that you attached to the ticket, I was not able to reproduce the issue. To my knowledge, no tool can scan the broken elements or replaced elements with different symbology. Perhaps you can attach the original DGN as a reference and compare the missing broken lines.
I suggest creating a new post in the programming forum. Maybe there could have a VBA who can help you.
Benedetta Ridolfi said:Perhaps you can attach the original DGN as a reference and compare the missing broken lines
This is an incredibly unhelpful suggestion!
Do you know how many thousand elements there can be in a single design file? Doubled, tripled or more if there are multiple models. Multiply that by however many drawings there my be in a project. You really think that it is acceptable to tell us to visually inspect every element to find the one or two where the SHX file was not found correctly?
The software knows that this SHX file was required for something - that's why it can generate an error message. Why can that error message not also report What that SHX file was required for?
Hi Mary B., I know the complexity of a file but there is not such a tool as Oto asked so my suggestion is to try to post on the programming forum to find a VBA that is able to do it.
For now, you can only have the error message without all the information that you are asking for, you can write on the Idea Community this needed implementation: communities.bentley.com/.../