I have recently migrated from AECOsim Building Designer v81 SELECTseries6 to OpenBuildings Designer CONNECT Edition but I cannot seem to get my custom level libraries properly integrated. I have placed my custom DGNlib in my workset's standards folder, modified configuration variables to included only those libraries, but when I open a DGN file I still see the delivered levels for Architectural, Structural, etc.. How can I limit my custom workspace so that it reads only my custom level libraries and not the delivered levels?
The two key factors in limiting available levels are to properly define the configuration variable MS_DGNLIBLIST_LEVELS, and to handle the levels automatically generated to support Drawing Views. In this example we only want the level library named "Levels_Landscape.dgnlib" to be loaded from the workset's \Standards\DgnLib\ folder, while still having all of the delivered level libraries available under the dataset's \Dgnlib folder.
1. In the workset's *.cfg file we will add "MS_DGNLIBLIST_LEVELS = $(_USTN_WORKSETSTANDARDS)Dgnlib/Levels_Landscape.dgnlib". Since we are setting the operator to "=" it will limit the folder and file(s) to only those specified.
2. Next we need to account for levels generated to support Drawing View resymbolization. The configuration variables BB_DVDATASETELEMENTDISABLE and BB_DVLEVELSDISABLE are used to automatically generate the levels defined by the workspace's Family+Part XML files; e.g., Cut, Forward + Reflected, Section Hatch/Patterning, etc. All of these levels are generated each time a DGN file is opened, so if they are not what you need/want you will also have to redefine the applicable Part levels to include only those that are required from your custom DGNLib file(s).
A quick way to test whether the concept above is working is to first define MS_DGNLIBLIST_LEVELS as outlined in step 1, change the value for configuration variable BB_DVDATASETELEMENTDISABLE to 1 (it is undefined by default), save that change, then open a DGN file and compress with all options enabled. When reopened, only the levels from your designated library should be displayed in the Level Manager dialog.