MS_INIT at startup

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

Parents Reply
  • 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. 

Children