[CONNECT] How to Stop Autoload of MDL apps

It looks like CONNECT automatically loads any mdl apps that were loaded when it is exited. Although this avoids the user needing to set the MS_DGNAPPS or add them to the "Design Applications" config section, this is not alway desireable. I have several apps that I do not want to automatically load at startup.

Is there a way to tell CONNECT not to auto load certain mdl apps or just not to auto load any?

Parents Reply Children
  • I am not able to reproduce your issue.

    • I loaded an application “mdl load displayrule”
    • I didn’t unload the application
    • Save Settings and closed MicroStation
    • Started MicroStation and don’t find the displayrule mdl automatically loaded

    Note: When you add any applications to MS_DGNAPPS configuration variable, then this application is automatically loaded when MicroStation starts. This is the default behavior.

    Regards,
    Leonard Jones.

          

  • Hi Leonard,

    Is the folder for your displayrule.ma set in MS_MDL and MS_MDLAPPS?  I think that is required to reproduce this issue. I am aware of the MS_DGNAPPS variable and the apps that are auto loading are not included in that. As you can see below, no apps other than “BENTLEY” are set to autoload, however if I “mdl load tscan” then exit, it is auto loaded next session:

  • Unknown said:
    If I “mdl load tscan” then exit, it is auto loaded next session

    Does MicroStation modify your MS_DGNAPPS variable?

     
    Regards, Jon Summers
    LA Solutions

  • Hi Jon,
    RE: Does MicroStation modify your MS_DGNAPPS variable?
    No

    I have also just discovered that not all MDL apps show this behavior. The tscan app mentioned above is a third party commercial app and I also have an in-house app that auto loads. However, I have just compiled and tried a few of the example apps delivered with the API and so far have not found one that auto loads.

    So this looks like it may be somewhat of a programming issue after all. I am going examine the differences between my mdlMain and the examples. I'll report back here when I have found the connection and probably open a new topic in the programming forum.