I am trying to recreate some customizations from an older version of Microstation. These were a barmenu and the keyins for the tools within the menu called .mdf files. I converted the .mdf files to .xml. I've read some forum posts that state you can import .xml files into the ribbon customization. I attempted to do this and when I use the Import From XML File in the Customize dialog I receive a message that the import was successful. However, I do not see any new items listed in the Customize dialog boxes. Where are these .xml imports located at this point?
If they are not showing up as Toolboxes in the Customize dialog box, open the Customize Ribbon dialog.
Choose the Menu Customizations from this drop down. They may be in there.
Those are the old V8i top menu bar menus that are not supported in CE, but you can still add them to your ribbons.
Rod WingSenior Systems Analyst
Rod, thanks for the reply. I was able to get those into the menu customizations as you have shown by adding the .dgnlib to my configs. It only brings in the top level barmenu items and did not really accomplish what I wanted.
I am in the process of building the barmenus manually. I've also been experimenting with exporting the customization to xml, modifying them using xmlnotepad and reimporting them. I have been successful to a point so far.
Microstation CONNECT 10.17.00.209
ORD CONNECT 2021 R1 10.10.1.3
Microstation v8i SS 10 08.11.09.919
Power InRoads v8i 08.11.09.615
You might find the method described in this blog useful when building custom tools, it can be helpful for ongoing maintenance too: Ribbon Customisation - Commands (Custom)
Thanks for the link. I will look at that information
Marc Thomas said:You might find the method described in this blog useful
So I was able to use this method to bring over certain aspects of the previous version customizations. As stated previously, the customization was a barmenu. While I was able to see these in the Commands (Custom) field in CONNECT and I was able to drag them over to the Ribbon, they were only coming in as a Sub-Menu item. This type does not allow you to add a key-in so it was useless.
I believe this is because the Excel file is not formatted to handle the original document formatting that makes up the barmenu. Here is an example of the original format, which is a .mdf file.
This is how the .mdf file is constructed
This is what the Ribbon customization looks like
What the Ribbon menu looks like
Is there any way to format an Excel file to handle converting these mdf files so all the Menu items have the correct xml headers to define them as DropDown Buttons, Sub-Menu items, Menu items, etc?
can you share the mdf files? you may have to change the file extension so its seen as a txt file and use the import data tool in excel to format how the data is brought in. I believe the tool is called Text Import Wizard
I can provide some .mdf files but I am not able to post them to the forums. How can I provide them to you?
you can use the following link: