[Map SS4] Corrupt DGN level table after SHP import

I have issue that importing SHP data in Map SS3, SS4 the resulted DGN file is not correct. Features are correctly mapped but the levels they are on are not marked as used. If executing DGN repair by Key-in:"mdl load verifydgn;verifydgn repair" then it shows long list of errors like "verifyElm_hdr error: no level entry element found for level 1483". Also Map sometimes crashes when trying to close this file. The levels are from dgnlib and are not in seed file I start with.

Parents Reply Children
  • I also have no problems to import shp files. Problem is that Bentley Map doesn't create levels for mapped features so the DGN file is not correct. Check if SHP layers are correctly mapped to XFM features as the polygons should be symbolized and each in its own level. Can you attach resulted file?
    As a workaround I am able to also import SHP correctly without corrupting DGN but only if seed file already contains all levels.

  • See my workflow with the geo_example Bentley Map delivered workspace > screencast.com/.../AAVv23W00B

    Sebastien Cote

    Regards

  • That is nice but not what is needed.

    Try to import using exported XFM Workspace(atis-shp2xfm-new.xml)  and map to XFM features.

  • I get now, thanks for the video.

    However, all this is expected. shp feature instances are imported on the newly created level based on the criteria defined in your schema.

    Regards

    Sebastien Cote

    Regards

  • So DGN corruption is expected?
    This is clearly a bug in Map because it doesn't correctly import elements in attached dgnlib levels only if they are already used in file
    and not only attached as level library. Bentley specialist for my SR was somehow unable to reproduce this issue. Can you please try once more using my workflow? Do you get the same DGN corruption and Map crash if try to close file afterwards?