We have a configuration that remaps the User Preference files using something like this.:
#-------------------------------------------------------------------- # Redirect User Preferences Location#-------------------------------------------------------------------- _MY_PREFS = C:/CADD/Users/_USTN_USER = $(_MY_PREFS)$(USERNAME)/$(_ENGINENAME)/_USTN_HOMEROOT = $(_USTN_USER)_USTN_HOMEPREFS = $(_USTN_USER)
This works most of the time, but in some situations MicroStation is not evaluating the windows USERNAME variable.
Instead of having _USTN_USER defined as C:/CADD/Users/<username>/MicroStation/ it gets defined as C:/CADD/Users/MicroStation/
What little hair I have left is quickly being pulled out trying to figure out what is causing this. The really odd part is that it works sometimes, but not others.
Has anyone else run into this or have suggestions?
Thanks.
Is it reproducible? If it is, a debug dump would really help to put a finger on things.
what version of MicroStation are you using ?
and why are you attempting to move the normal location of the preferences ?
Timothy Hickman
CADD Manager | CADD Department
timothy.hickman@colliersengineering.com
Main: 877 627 3772|
1000 Waterview Drive Suite 201 | Hamilton, New Jersey 08691
sorry - original post has it - I looked right past it....update 12
I don't think some of the variables you are setting are even used by this version of the software (checking)
just verified...there is a variable you are attempting to use that is not in this version of the software.
but as mentioned earlier - a debug may shed some light on what is specifically going on.
Thanks for the info Tim. I see now that the _USTN_USER variable is no longer used.
For some users this works correctly, some others it does not. That's what's confusing about this. I cannot replicate this on my computer, but the client has several users that have this issue.
In looking at the debug file again (attached) it appears the _USTN_PREFNAMEBASE variable may be the culprit. I'm going to update that variable and send and updated config file back to the client to test out.
The other thing I hadn't noticed before is that in the Configuration Variable Summary at the end of the debug file there two (and only two) variables that are preceded by ***.
***_USTN_PREFNAMEBASE
***_USTN_USER
What is the meaning of those characters?
Username - msdebug.txt
Rod WingSenior Systems Analyst