Original Tip Date: Apr 22, 2009Last Revised: May 8, 2011
With thanks to Fred Skrobot for submitting this tip:If you have custom menus for the BARMENU utility, you can use MDF2XML to convert the MDF files to a DGNLIB that can be utilized with MicroStation XM using the MS_GUIDGNLIBLIST variable.The procedure to convert the MDF into an XML file and then import it into a DGNLIB is well documented in the MDF2XML download, but the real beauty of this process is how you can further use the MS_GUIDGNLIBLIST variable to control which users see which menus.For example, by creating different DGNLIBs you can create custom menus for your local office, discipline, projects and users by placing the MS_GUIDGNLIBLIST variable in any of your CFG, PCF and UCF files. Therefore, your local office menus can be in your SITE.CFG file, your project and/or disciple settings can be in your PROJECT.PCF file, and your local user menus can be placed in your USER.UCF file.
The MDF to XML Utility is available to any Be Communities member:
AskInga Tip #755
although I really like this I'm having diffcuties editing the menu. In MSTN dgnlib I see the menu in customize but it will not let me edit. I tried the edit the XML but when I import it gives me 2 of the same menu. Any suggestions?