Is the MS_INIT variable no longer passed through in OpenCities Map Advanced Version 10.16.02.14?
We use this to pass through KeyIns at startup.
Greetings Birgit
Hello Birgit, Recent changes to MicroStation have propagated to Map. One such change is the inclusion of a new preference which must be set to allow startup execution:[Backstage] > Settings > Preferences > Operation > Command Line: Execute Startup ScriptPrior to U16 or so, this may have been a 'technology preview' necessary to select during installation. thanks,Nels
Thanks for the reply, unfortunately it has not made any change.
Hello Birgit, thanks. Yes, mea culpa. In fact I conflated the MS_INIT (UCM) and Command Script functionality incorrectly in my initial reply. That said, if your UCM is ultimately unviable, you may consider the -S switch at startup to run commands in a command file format. User Commands have been unsupported since circa the introduction of MicroStation V8, see: Configuration Variables In MicroStation V8
Migration of UCM's to VBA is the broadly suggested way forward, and any remaining UCM functionality in MicroStation and Map is largely eviscerated. Certain commands may work, or may no longer work. That said, upon defining MS_UCM and MS_INIT, I am able as desired to execute on startup a simple UCM: key 'echo' msg 'stNels UCM test ' key 'place line'exituc: msg 'stNels test Exited ' end Perhaps check to see if those variables are correctly set, and post such and any other pertinent details in your reply for comparison.
Thank you for your effort. I will write an MVBA for the Startup.
The configuration variable MS_GEOINITCMD can be used to run keyins at startup.E.g.: MS_GEOINITCMD > gdi connect graphicalsource
Thank you.