Hello everyone, I have a question regarding loading custom UCF file during the startup of Microstation CE application(and also OpenCitiesMap/Advanced, OpenCities Map Ultimate).
Back in the days of V8I, there was an option to launch the Microstation with my own UCF file using the command line switch ws_USTN_USERCFG="myFile.cfg"... I made some investigation on this approach in this CE world and found out following :
My question is, how did you guys solve the situation to launch a given application but with your own UCF file? I mean, I was thinking about copying my files into the prefs folder and name them Personal, but that means my configuration will replace everything and maybe sometimes I want to use it without it. Then another problem is that every product has its own folder path, so basically I have to copy my UCF into the correct folder depending on the installed version (and then I also though about what would happen if the directory path changes with some new updates[right now its in Microstation\10.0.0\prefs] - another trouble!).
Or is there a better and easier way to achieve loading selected UCF during the startup?
Thanks for any suggestions.
why are you concentrating on the "user" part ?
you could and still, can load "a configuration" file on startup from the command line.
Timothy Hickman
CADD Manager | CADD Department
timothy.hickman@colliersengineering.com
Main: 877 627 3772|
1000 Waterview Drive Suite 201 | Hamilton, New Jersey 08691
do you mean using the command line switch -wc? I´ve tried that and it resulted in error, like mine cfg file replaced the core cfg that is being used during the loading. or you mean by copying the content of the original .cfg(debug shows that the first .cfg being processed is mslocal.cfg) and add my own statements?
the -wc switch is what I meant.
well - just found out there is a defect filed for the "wc" command line switch.
defect #729779
oh, thanks for checking that! is there a way for me to check the progress of this bug issue? whenever it gets some new information or gets fixed.
Lubo B said:is there a way for me to check the progress of this bug issue?
It was explained many times :-)
Create Service Ticket and ask the ticket to be linked with the defect number.
Regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
I use the -wc switch quite often, with no problems. One thing to note is that when using that switch the mslocal.cfg is not automatically loaded. Your custom config file specified by the -wc switch will have to do a %include of the mslocal.cfg
Rod WingSenior Systems Analyst
Answer Verified By: Lubo B