[CONNECT] Does it matter which dgnliblist variable is used to load named expressions?

(Using MicroStation 10.16.00.80)

Documentation for Named Expressions says:

They are stored in the configured DGN libraries defined by the following configuration variables (MS_GUIDGNLIBLIST and MS_DGNLIBLIST_PRINTING)

Should the dgnlib containing my named expressions be listed in both? Does listing it in just one, affect how it can be used? For example, if just loaded in MS_GUIDGNLIBLIST does that mean the named expressions won't be available in setting Default Filenames in Print Organizer?

Thanks.

Parents
  • Hi Kevin,

    Any Named Expressions DGNLIBs included by MS_GUIDGNLIBLIST will be available to the whole application.

    MS_DGNLIBLIST_PRINTING is intended to be used to keep separate content relevant to printing separate from other DGNLIBs reducing the chances of cross-contamination between DGNLIBs.

    The only expressions that would be available to the Print dialogs would be those where the Print Set box is checked so storing these in a DGNLIB defined by MS_DGNLIBLIST_PRINTING would be best practice.

    The pre-defined print expressions are hard coded and cannot be edited (Can you modify the pre-defined named expressions in Print Organizer?).

    Marc

    Answer Verified By: Kevin van Haaren 

  • Hallo Marc & Kevin,

    Just a comment. Previously you could include Named Expressions in any .dgnlib file in the MS_DGNLIBLIST variable to be globally available, but this is not true as of U16 it seems.

    We have used Named Expressions to control visibility for Toolbar and Ribbon buttons in versions from V8i to CONNECT U14 and the Named Expressions contained in the dgnlib files in the MS_DGNLIBLIST variable was included and could be used everywhere. From CONNECT U16 (now 16.2) we had to move the definition of the Named Expressions to a dgnlib file that is referenced by the MS_GUIDGNLIBLIST variable as you stated above.

    After the move everything worked again as it did previously. Just export a XML of the Named Expressions and Import them into the new DGNLIB. Then delete the old definitions from the old DGNLIB file.

    Kind Regards,

    Francois Grobler

Reply
  • Hallo Marc & Kevin,

    Just a comment. Previously you could include Named Expressions in any .dgnlib file in the MS_DGNLIBLIST variable to be globally available, but this is not true as of U16 it seems.

    We have used Named Expressions to control visibility for Toolbar and Ribbon buttons in versions from V8i to CONNECT U14 and the Named Expressions contained in the dgnlib files in the MS_DGNLIBLIST variable was included and could be used everywhere. From CONNECT U16 (now 16.2) we had to move the definition of the Named Expressions to a dgnlib file that is referenced by the MS_GUIDGNLIBLIST variable as you stated above.

    After the move everything worked again as it did previously. Just export a XML of the Named Expressions and Import them into the new DGNLIB. Then delete the old definitions from the old DGNLIB file.

    Kind Regards,

    Francois Grobler

Children