Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Help] Project.PCF

21 views
Skip to first unread message

Patrick Pirtle

unread,
Nov 13, 1998, 3:00:00 AM11/13/98
to
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

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.

Bernhard Leicher

unread,
Nov 14, 1998, 3:00:00 AM11/14/98
to
Hi,

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>...

Patrick Pirtle

unread,
Nov 16, 1998, 3:00:00 AM11/16/98
to

Thanks to all who responded. The problem was "between the chair and the
keyboard." I had each user's UCF "including" the site UCF rather than
putting the site stuff as a CFG in the config\site directory. So, what I
was considering to be site stuff loading early on was actually loading as
user stuff, effectively overwriting the project UCF. Whew! Did anybody
follow that?

Anyway, the problem is now solved. Thanks again to Geoff Houck, Jerry
Walter and Bernhard Leicher.

Karl Sumwalt

unread,
Dec 24, 1998, 3:00:00 AM12/24/98
to
Patrick,

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
>

0 new messages