I'm working to better understand how workspaces function in microstation, but I've hit a roadblock.
I understand that the .ucf file specifies active workspace components, but I don't understand how microstation knows where to find the .ucf file. Mine is referencing a seperate drive, other than the C drive.
Here's my current About Workspace. Nothing in my current .ucf seems to point to the Y drive, but it finds it none the less.
There are three variables that control its location.
_USTN_LocalUserAppDataPath : predefined and locked
(System): _USTN_HOMEROOT=$(_USTN_LocalUserAppDataPath) [C:\Users\username\AppData\Local\Bentley\MicroStation\10.0.0\] (System): _USTN_HOMEPREFS=$(_USTN_HOMEROOT)prefs\ [C:\Users\u\AppData\Local\Bentley\MicroStation\10.0.0\prefs\]
~HTH
John.
yep
From the screenshot Adam in on V8i not Connect so path will be the same apart from 8.11 instead of 10.0.0 but Microstation won't look there if it's redirected by mslocal.cfg or by the -wu switch.
https://communities.bentley.com/products/microstation/w/microstation__wiki/8873/microstation-command-line-options-and-switches
This might help.
By default, perhaps those variables link with other variables eventually defining the UCF name and location but they aren't really the cfv vars of importance. Indeed in my own config my UCF is in an entirely different folder outwith the folder which _USTN_HOMEROOT is assigned. The pertinent config variables are for UCF location and name are _USTN_USER and _USTN_USERCFG.
for v8i it would be;
_USTN_USERCFG=$(_USTN_USER)$(_USTN_USERNAME).ucf [C:\ProgramData\Bentley\MicroStation V8i (SELECTseries)\WorkSpace\users\untitled.ucf]
This is the default of how it finds the UCF file.
For him to better understand how it is finding the ucf I would recommend look at a debug.