Is there any tool or key-in to Reload Libraries?

MicroStation CE 14

Hi.

When I open MicroStation, appears a windows loading libraries before opening a drawing completely.

Due to we can add/remove DGNLIB files (or paths in the MS_DGNLIBLIST variable), do we have to close and open MS again? or we can Reload Libraries from the same session?

Also, When I open a file (ReadOnly mode) I don´t know why MS has to load libraries if the user can do nothing...  It does not make more sense not loading libraries when a readOnly file is open?

Parents
  • Hi Joan,

    in addition to detail answer from a few more comments:

    When I open MicroStation, appears a windows loading libraries before opening a drawing completely.

    I am curious how large your DGNLIBs are, because MicroStation typically does not show this info. On the other hand, OpenRoads Designer, because of complex big DGNLIBs, shows it always ;-)

    do we have to close and open MS again? or we can Reload Libraries from the same session?

    It depends type of modification you did:

    • When a number of DGNLIB files has changed, e.g. because new file is added, or the variable is changed to use different filtering or to point to another folder, to reload workspace is required. The simplest is to restart MicroStation, but my experience is that to close DGN file (backstage > close) and to reopen is usually enough.
    • When a new "object" is added to existing DGNLIB (e.g. new level is created), to reopen DGN file (without closing it upfront) is enough. Simple key-in "newfile" without parameters does the same.
    • When a setting / configuration of existing object is changed (e.g. level color), again, the file has to be reopened (or "newfile" key-in used).

    To modify DGNLIB is admin task, done at the beginning of the project typically, so to restart is rarely necessary.

    BTW "dgnlib update" key-in was mentioned. Based on my testing it does not update changes from DGNLIB files, but it returns back changes, done in DGNLIB settings in the current file, like when you change level color to be blue, "dgnlib update levels" will change the color to red, because it's defined in DGNLIB.

    Also, When I open a file (ReadOnly mode) I don´t know why MS has to load libraries if the user can do nothing...  It does not make more sense not loading libraries when a readOnly file is open?

    Please, respect the best practices and never ask more different questions in one post!

    And, of course, it makes perfect sense, because DGNLIB can contain plenty of settings, not directly related to file modification, like display styles and display rules or print styles.

    With regards,

      Jan

Reply
  • Hi Joan,

    in addition to detail answer from a few more comments:

    When I open MicroStation, appears a windows loading libraries before opening a drawing completely.

    I am curious how large your DGNLIBs are, because MicroStation typically does not show this info. On the other hand, OpenRoads Designer, because of complex big DGNLIBs, shows it always ;-)

    do we have to close and open MS again? or we can Reload Libraries from the same session?

    It depends type of modification you did:

    • When a number of DGNLIB files has changed, e.g. because new file is added, or the variable is changed to use different filtering or to point to another folder, to reload workspace is required. The simplest is to restart MicroStation, but my experience is that to close DGN file (backstage > close) and to reopen is usually enough.
    • When a new "object" is added to existing DGNLIB (e.g. new level is created), to reopen DGN file (without closing it upfront) is enough. Simple key-in "newfile" without parameters does the same.
    • When a setting / configuration of existing object is changed (e.g. level color), again, the file has to be reopened (or "newfile" key-in used).

    To modify DGNLIB is admin task, done at the beginning of the project typically, so to restart is rarely necessary.

    BTW "dgnlib update" key-in was mentioned. Based on my testing it does not update changes from DGNLIB files, but it returns back changes, done in DGNLIB settings in the current file, like when you change level color to be blue, "dgnlib update levels" will change the color to red, because it's defined in DGNLIB.

    Also, When I open a file (ReadOnly mode) I don´t know why MS has to load libraries if the user can do nothing...  It does not make more sense not loading libraries when a readOnly file is open?

    Please, respect the best practices and never ask more different questions in one post!

    And, of course, it makes perfect sense, because DGNLIB can contain plenty of settings, not directly related to file modification, like display styles and display rules or print styles.

    With regards,

      Jan

Children
No Data