Adding menu items to a ribbon

Hi,

I have several different applications in my organization. OpenBridge Modeler, OpenRoads Designer and OpenBuilding Designer.

I want to create one Addin-menu.dgnlib to be used in all applications.

As I have understood it, I can define a link to the dgnlib using MS_GUIDGNLIBLIST < [Filepath]/Addin-menu.dgnlib and get the application to read the same dgnlib.

Are there problems sharing a menu.dgnlib between different applications? The core program is still Microstation for all applications, so the dgnlib should be interpreted in the same way regardless of which program reads dgnlib?

At the moment I can't get i to work so the question is... Is it possible or do I need to make 3 different (identical) menu setup's, one for each application? 

Kind regards

Parents
  • Hi Ole,

    Are there problems sharing a menu.dgnlib between different applications?

    As others mentioned already, there should be no problem ... of course as long as you stay at "MicroStation level" and you will not reference/customize e.g. ribbon tabs that exist in one product only.

    At the moment I can't get i to work so the question is

    Usually when it does not work, the problem is in workspace / configuration variable setting. I recommend to prepare the customization in plain MicroStation (if it's possible) to ensure nothing "product specific" is stored in dgnlib.

    Also, be aware there is known defect in last ORD version (I am not sure whether it exists also in other civil products).

    Regards,

      Jan

  • Hi Jan,

    I have found out why I couldn't get it to work.

    I seems that the path to the dgnlib file where I want to store the Ribbon modification must be known to the system prior to creating the modification.

    If this path isn't defined in MS_GUILIBLIST, the Microstation application (ORD or OBD) will not store the modifications made in the ribbon into the dgnlib file.

    This was the reason why I couldn't get the modification stored in the dgnlib. The configuration must be made in reverse. First set up the variables and path for the file that will contain the modification, and then create it.

    I have learned it the hard way, I must say.

    Thanks everyone for your input.

    Kind regards

    Ole


    ORD Connect:10.08.01.033

    MS Connect: 10.14.02.01

    Projectwise: 10.00.03.49

Reply
  • Hi Jan,

    I have found out why I couldn't get it to work.

    I seems that the path to the dgnlib file where I want to store the Ribbon modification must be known to the system prior to creating the modification.

    If this path isn't defined in MS_GUILIBLIST, the Microstation application (ORD or OBD) will not store the modifications made in the ribbon into the dgnlib file.

    This was the reason why I couldn't get the modification stored in the dgnlib. The configuration must be made in reverse. First set up the variables and path for the file that will contain the modification, and then create it.

    I have learned it the hard way, I must say.

    Thanks everyone for your input.

    Kind regards

    Ole


    ORD Connect:10.08.01.033

    MS Connect: 10.14.02.01

    Projectwise: 10.00.03.49

Children
No Data