User adding own dgnlib cuts out existing menu customisations?

As a user entering a new workplace/workspace I am wanting to add my own dgnlib containing MenuBar customisations. I can do this by either using the Workspace>Customize menu and appending my dgnlib or manually entering it into the ucf file such that it has a line reading;

MS_DGNLIBLIST > C:/User/User.dgnlib

This works and I can see my new MenuBar customizations, but I then find that the existing company MenuBar customizations (Menus) have dissappeared. I would have thought that simply using append(or >) rather than the "=" operator would avoid this scenario but it doesn't so I must be missing something?

Parents
  • Which product and version are you using ?

    In which cfg file are the company customizations pointed to using MS_DGNLIBLIST ?

    If you open the Configuration Dialog and select the MS_DGNLIBLIST var does the Expansion show the location of the company dgnlib containing the company customizations and does the file exist in that location? ( Also check the var MS_GUIDGNLIBLIST )

    May be you can provide us with a debug file for review and let us know the file names containing both the company and user customizations.

    communities.bentley.com/.../8879.msdebug-file



  • Thanks Carl,

    I am using Microstation SS3 - 08.11.09.459.

    Workspace>Configuration will tell me what the variable definitions are, but not where they are defined right? The company dgnlib's exist and work in the dafault workspace. They just disappear when I add my own through my ucf file using MS_DGNLIBLIST. I have uploaded two self explanatory debug files to the ftp site;

    1. mdebug - Default Workspace.txt

    2. msdebug - Added dgnlib to ucf.txt

    Jovan.

  • Thanks for posting the debug files, these show which *.cfg files are processed and the defined variables within each *.cfg, at the bottom there is a summary of what is set.

    Looking at your ' msdebug - Added dgnlib to ucf.txt ' it shows that its processing the user configuration file

    Processing macro file [C:\Users\DjukanovicJ\Documents\UstnV8i\PB-v8i.ucf

    with the following var as :

    MS_DGNLIBLIST=$(_USTN_USERINT)$(_USTN_USERINTNAME)\*.dgnlib;E:\Jovan\Microstation\Dgnlib\Jovan.dgnlib [C:\ProgramData\Bentley\MicroStation V8i (SELECTseries)\WorkSpace\interfaces\MicroStation\default\*.dgnlib;E:\Jovan\Microstation\Dgnlib\Jovan.dgnlib]

    In yet earlier you mentioned setting this in your ucf " MS_DGNLIBLIST > C:/User/User.dgnlib " are you sure you edited the correct UCF file or may be you was just using this as an example.?

    Assuming ' Jovan.dgnlib ' is your file containing your user customizations, open the user configuration file C:\Users\DjukanovicJ\Documents\UstnV8i\PB-v8i.ucf and place a '#' in front of the line starting with MS_DGNLIBLIST..................
    so MicroStation no longer reads this line, then add the following line

    MS_GUIDGNLIBLIST > E:\Jovan\Microstation\Dgnlib\Jovan.dgnlib
     
    Reopen MicroStation and see if this helps restore the interface as required. If you then require Text styles, levels etc then try adding the line

    MS_DGNLIBLIST > E:\Jovan\Microstation\Dgnlib\Jovan.dgnlib



    Answer Verified By: Jovan_Djukanovic 

Reply
  • Thanks for posting the debug files, these show which *.cfg files are processed and the defined variables within each *.cfg, at the bottom there is a summary of what is set.

    Looking at your ' msdebug - Added dgnlib to ucf.txt ' it shows that its processing the user configuration file

    Processing macro file [C:\Users\DjukanovicJ\Documents\UstnV8i\PB-v8i.ucf

    with the following var as :

    MS_DGNLIBLIST=$(_USTN_USERINT)$(_USTN_USERINTNAME)\*.dgnlib;E:\Jovan\Microstation\Dgnlib\Jovan.dgnlib [C:\ProgramData\Bentley\MicroStation V8i (SELECTseries)\WorkSpace\interfaces\MicroStation\default\*.dgnlib;E:\Jovan\Microstation\Dgnlib\Jovan.dgnlib]

    In yet earlier you mentioned setting this in your ucf " MS_DGNLIBLIST > C:/User/User.dgnlib " are you sure you edited the correct UCF file or may be you was just using this as an example.?

    Assuming ' Jovan.dgnlib ' is your file containing your user customizations, open the user configuration file C:\Users\DjukanovicJ\Documents\UstnV8i\PB-v8i.ucf and place a '#' in front of the line starting with MS_DGNLIBLIST..................
    so MicroStation no longer reads this line, then add the following line

    MS_GUIDGNLIBLIST > E:\Jovan\Microstation\Dgnlib\Jovan.dgnlib
     
    Reopen MicroStation and see if this helps restore the interface as required. If you then require Text styles, levels etc then try adding the line

    MS_DGNLIBLIST > E:\Jovan\Microstation\Dgnlib\Jovan.dgnlib



    Answer Verified By: Jovan_Djukanovic 

Children
  • Thanks Carl, I was initially using the location as an example. Sorry for the confusion. You did figure it out :-)

    I actually resolved this issue by using the debug file to see where the default configuration was looking for dgnlib files. Without changing anything and placing my dgnlib in the following location I can achieve what I am after;

    C:\ProgramData\Bentley\MicroStation V8i (SELECTseries)\WorkSpace\Interfaces\MicroStation\default\