[CONNECT C++]unload ma before saving in the upf

Hello,

we have a problem, in Microstation Connect, when we load our programs (ma), these are then saved in the upf, and MicroStation reloads them automatically the next time the plan is opened.

We do not want this behavior.

We tried to unload them in the callback function SystemCallback::SetExitDesignFileStateFunction, but it's too late, it's already saved in the upf.

we also tried SetDgnFileUnloadingFunction, but this callback does not work.

Is there a method for not having our programs register in the upf file?

Rgds,

Goubier Sébastien

Parents Reply
  • Hi ,

    Do you mind letting us know (per our Community posting Best Practices) what exact version of MicroStation you are seeing this issue in?

    and I noticed autoload of MDL toolboxes behavior may have been corrected in code (outside of) Defect 437059, so I cannot confirm with 100% certainty if it is corrected (with clean installs) or a different path/behavior may not have been addressed.

    If you are running a (clean install) of MicroStation CONNECT U14 and SDK w/recompiled app and still seeing the behavior described above could you reply (when convenient) with a simplified test case so we can confirm under clean software installs a new defect or elevating the existing defect is required?

    Thank you in advance,
    Bob 



Children