In this blog, we will use the Customize Ribbon dialog and create custom ribbon components such as workflow, tab, and ribbon group. To know more about each of these, refer to my previous blog.
In this example, we will create a customized ribbon that contains a simplified set of tools, grouped together, that a typical roadway designer will use while working on roadway projects.
Note: Ribbon customizations are saved in a .dgnlib file and read from the location pointed by MS_GUIDGNLIBLIST configuration variable. A sample DGNLib (UI.dgnlib) containing customizations explained in this blog is attached here. You can save it at a path pointed by MS_GUIDGNLIBLIST.
Let us create a new workflow called “Roadway”.
A wonderful thing about ribbon customization is that you can check the changes as you make and save them. Click the Workflow drop-down and check that the new Roadway workflow is created.
In the Roadway workflow, we will add a new tab and within it a ribbon group.
While customizing, you will find that some tab or ribbon group is designed such that it can be used as is in your customization. Following steps will guide you to add an existing tab and a ribbon group to your custom ribbon:
In the next blog, we will add tools to the new ribbon group and also create custom buttons and split buttons.