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?
Hi Joan,
in addition to detail answer from Barry Lothian a few more comments:
Joan Martínez Serra said: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 ;-)
Joan Martínez Serra said: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:
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.
Joan Martínez Serra said: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
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
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.
Hyung Kim said: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:
Joan Martínez Serra said: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.
Same goes for text styles, detailing symbols etc...
Hyung Kim said: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't quite recall how CONNECT differs from an adminstration perspective but I trust you get the idea.
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
Aaah ok.
You re open the same drawing.