for one project I don't need some dgnlib's (located in the upf file). I redefine the MS_DGNLIBLIST = ... in the pcf file, but still the whole list of dgnlibs for my standard workspace is loaded true the upf file.
Is the pcf file not the last list that loads?
Haw can I define this overwrite in the pcf file, without changing the upf file.
* all my users have a private upf file on the server, this user loads a "site" cfg file where all the standards are located. In this standard (cfg) is the MS_DGNLIBLIST defined, and this can't be changed. I need this overwrite special for this project only, so the overwrite must be defined in the pcf file.
When MicroStation starts, it loads the last UCF and therefore whatever PCF was loaded by that UCF. Often, changing PCF's at this point will not change those settings until you exit and restart MicroStation.
To get around this, I added some custom variables to my site.cfg file that act as my "client level" variables. These have no values when the site.cfg uses them, but my PCF files assign values to them. When I assign the values in a PCF, the first assignment is always an equals operator and the rest are > or < operators. This way, changing a PCF redefines these values and does so at the site level.
If you looked at my DGNLIB variables in my site.cfg, you see this assignment:
MS_DGNLIBLIST > $(_AB_CLIENT_DGNLIBLIST) # Client DGNLIB's
then in my PCF files, I assign the _AB_CLIENT_DGNLIBLIST new values and the changes are honored.
I had to study a number of msdebug.txt files to figure this out but I use it for DGNLIBS, fonts, linestyles, cells and even VBA projects. The VBA projects needed some help as once a VBA is autoloaded, it will not unload until you exit MicroStation. So if the startup PCF loaded one VBA and the user changed PCF files, the second PCF might also load a VBA, but the first VBA did not unload. So I made a variable to hold a list of names of any client's autoload VBA and when a user changes PCF files, my custom VBA looks through the list and unloads any VBA applications if they are not in the list of client VBA's.
Charles (Chuck) Rheault CADD Manager
MDOT State Highway Administration
I don't understand what happens to the order of the variables,In my pcf file there is only one dgnlib pointed,see the picture - expressionOpening MS gives the usual ones, see the picture - valueusing WorkspaceAssistant shows this:
so yes after the project vars there are some user vars loadedlooking to the file it seems that this pcf file loads uservars isn't that strange?
an other cfg file (rro+.cfg) seems to be loaded, nevertheless it is crossed out ( # ) in my UPF file - why?