Last revised: February 22, 2011
MDF2XML.exe is a utility that converts BarMenu MDF files to XML format, which can then be imported to a MicroStation DGNLib and then used as a custom menu in base MicroStation.
The following files should all be copied into a folder that you can access from your computer:
MDF2XML.exeMDF2XML.htaBentleyB.icoBrowse.ico
Open a DOS Command Shell, change directory to the folder that contains MDF2XML.exe and then key in: MDF2XML <mdfFile><mdfFile> is an existing and valid MDF file.
MDF2XML <mdfFile>
or
from Windows Explorer, select:MDF2XML.htaChoose an existing and valid MDF file and click Convert.
MDF2XML.hta
Note: In both cases mentioned above, the MDF file should be on your local hard disk.
Once the conversion is done, the resulting XML file can now be imported into a MicroStation DGNLib that is referenced by the variable MS_GUIDGNLIBLIST. To import the XML file, choose Workspace > Customize and then File > Import XML... from the Customize dialog. After the XML file is successfully imported into the DGNLib, the original MDF menu items will be added to MicroStation's main menu. For more information on this topic, see 'To import template, custom tool, and custom menu data from an XML file' in MicroStation's help file (Help > Contents).
© 2006 Bentley Systems, Incorporated. 685 Stockton Drive Exton, PA USA 19341
Bentley, the "B" logo, MicroStation, SELECT, and MDL are either registered or unregistered trademarks or service marks of Bentley Systems, Incorporated, or one of its direct or indirect wholly-owned subsidiaries. Other brands and product names are trademarks of their respective owners.