• Hello,

    After some tests using the PDMS .NET DLLs, I have successfully connected to a PDMS project by performing some initialisation (setting all environment variables, etc...) and then doing:

    Aveva.Pdms.Implementation.PdmsApplicationImpl.Initialise();
    Aveva.Pdms.PdmsApplication.Start(graphicMode, moduleNumber, false, false, logFile);
    Aveva.Pdms.Standalone.PdmsStandalone.Open(projectName, userName, userPassword, startupMdb);

    This allows me to perform querries on the databases, execute PML commands, etc. However, the problem I am facing is that I cannot change the module in runtime. For example, if I execute a PML command that changes the PDMS module, via for example the command ?MONITOR?, my application exits.

    I have also tried to run the method Aveva.Pdms.PdmsApplication.Start(graphicMode, moduleNumber, false, false, logFile); twice: the first one passing 78 as moduleNumber (DESIGN module number) and the second one passing 0 (MONITOR module number) as moduleNumber and the module is simply not changed.

    Does someone know how to achieve this?