test = OK
MS_SYMBRSRC = $(MY_SYMB)project/*.rsc
Our Default.UCF defines MY_SYMB as "k:\fonts and MS_SYMBRSRC as
"$(MY_SYMB)*.rsc".
I have a new directory "k:\fonts\project" which contains the resource files
for this particular project. When I choose this project from MicroStation
Manager, it gets the fonts from "k:\fonts\*.rsc" instead of
"k:\fonts\project\*.rsc. It does, however, set test=OK.
If I move the line from Project.PCF to User.UCF (my workspace,) it gets the
fonts from "k:\fonts\project\*.rsc". I know the project variables get
overwritten by the user variables, so I checked User.UCF to verify it didn't
have a duplicate definition.
What am I missing here? Thanks in advance for your help.
I think the problem is, that you can't override a user level variable with a
project level variable. As user configuration file is processed first, and
then the project configuration file, there is no way to redefine something
in the project configuration file. Actually a design flaw, I think.
Regards, Bernhard
Patrick Pirtle schrieb in Nachricht <72ijfb$5ua$1...@supernews.com>...
Anyway, the problem is now solved. Thanks again to Geoff Houck, Jerry
Walter and Bernhard Leicher.
As Bernard stated, the user configuration file is processed prior to the project
level file. It also takes precedence over all of the other configuration
files. I would suggest the following lines in your project configuration file:
%level 4
MS_SYMBRSRC = $(MY_SYMB)project/*.rsc
%level 3
The "%level 4" tells MicroStation that this is a User level setting. Remember
to set it back to level 3, the project level. This should cause the project
level file to override the user level file for this setting. Assuming, that is,
that the user level setting does not lock the value of MS_SYMBRSC.
Of course, an easier solution might be to move the original definition OUT of
the User level file, and place it in a SITE level file. This way you can let
MicroStation process the files in the order it wants to, and not worry about the
levels as much.
Enjoy!
Karl Sumwalt
KCI Technologies, Inc
Baltimore, MD USA
Patrick Pirtle wrote:
> I've created a project which needs to have its own font libraries. So, my
> entire Project.PCF file consists of the lines:
>
> test = OK
> MS_SYMBRSRC = $(MY_SYMB)project/*.rsc
>