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
  • As long as your dgnlib files are defined by MS_DGNLIBLIST, you can simply do File > Open > your active file or Key-in: newfile your active file.

    Regarding your second question, you have to delete MS_DGNLIBLIST if you do not want to see the dgnlib files.


    This is a test

    Answer Verified By: Joan Martínez Serra 

  • keyin: DGNLIB UPDATE ALL

    this may get you what you are looking for...

    instead of "all" you can specify text styles, levels, templates, etc...

    DGNLIB UPDATE TEMPLATES

    Timothy Hickman

    CADD Manager | CADD Department

    timothy.hickman@colliersengineering.com

    Main: 877 627 3772| 

    1000 Waterview Drive Suite 201 | Hamilton, New Jersey 08691

  • As long as your dgnlib files are defined by MS_DGNLIBLIST, you can simply do File > Open > your active file or Key-in: newfile your active file.

    Eh? Not sure I agree with that at all.

    If I'm understanding the original post correctly:

    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?

    That is to say that, "If the configuration variable MS_DGNLIBLIST is modified during a current MicroStation session whereby file path(s) are added or removed alongwith the necessary operator, is it possible for a user to have MicroStation essentially reprocess all .dgnlib files found via the current values set in MS_DGNLIBLIST (in the same manner as they are processed during startup) so that all the  content within each .dgnlib file becomes available for use within the same session?" 

    Unless .dgnlib loading functionality is different in CONNECT to V8i, then the answer is NO, you cannot do that without closing and restarting CONNECT. Yes, its possible in V8i but IF (and only IF) you use PCF files (which iirc are not present in CONNECT) because changing Projects causes all configuration variables within the PCF to be read and their values assigned and that can include DGNLIB's if MS_DGNLIBLIST and/or MS_GUIDGNLIBLIST have entries in the the newly chosen PCF. I've just tested it with 2 test PCF files, created 2 dummy dgnlib files where each contains only a single dimension style and within each PCF file, I purposely override the initial definition of MS_DGNLIBLIST using the "=" operator.

    • When I open a DGN file with a normal work project active, my standard dimension styles are available
    • When I go back to the MicroStation Manager and change the project to Test Project A, all my previous Dim styles are gone and only the Test Project A dimension style is available.
    • When I go back to the MicroStation Manager and change the project to Test Project B, the Test Project A Dim style is gone and only the Test Project B dimension style is available

    Same goes for text styles, detailing symbols etc...

    Regarding your second question, you have to delete MS_DGNLIBLIST if you do not want to see the dgnlib files.

    This answer is unclear as you are not informing the OP where to delete MS_DGNLIBLIST i.e. via Configuration Dialog, CFG file, UCF file. It matters as where its done has considerable differences.

    If I open up a normal work file (where all my normal dimension styles are available) and use the keyin:

    expand set MS_DGNLIBLIST = 

    I can review that MS_DGNLIBLIST is thereafter empty however all of my dimension styles remain loaded and available to select.
    If I delete the entry for MS_DGNLIBLIST via the configuration Dialog, all of my dimension styles still remain.
    Therefore if you want to open MicroStation without any DGN Libraries loading, I would recommend that you:

    • Create a custom .cfg file and set the value of MS_DGNLIBLIST to nothing i.e. "MS_DGNLIBLIST = " (without the speechmarks!)
    • Create a custom shortcut and assign a -WC switch which will eventually process this CFG file (it may take more CFG files if you want aspects of your existing configuration to load and depending on how your workspace is set up)

     I can't quite recall how CONNECT differs from an adminstration perspective but I trust you get the idea.

  • I have done the following steps:

    1- in the "edit configuration variable" window for MS_DGNLIBLIST variable,  i have removed all in "new value:" llistbox.

    2-I reopen the same drawing from recent files.

    3- I open templates dialog and does not appear dgnlib files..

    So it works in MS CE 14.

Reply Children
No Data