Last revised: June 2, 2006
Description
SBM2XML.exe is a utility that converts sidebar menu (SBM) files to XML format, which can then be imported to a MicroStation V8 XM Edition DGNLib and then used as a custom menu in base MicroStation.
Installation Instructions
SBM2XML.exe, SBM2XML.hta, BentleyB.ico
, and
Browse.ico
should all be copied into a folder that you can access from your computer.
To run SBM2XML
Open a DOS Command Shell, change directory to the folder that contains SBM2XML.exe and then key in:
SBM2XML <SBMFile>
, where <SBMFile> is an existing and valid SBM file.
or
from Windows Explorer, selectSBM2XML.hta
, choose an existing and valid SBM file, and click Convert.
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 SBM 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).
Known Issues
In situations where a referenced sub-menu in an SBM does not exist, if the entry has a command key-in, then the entry is added as a command menu-item. If no key-in is found, then the entry is ignored.