EDEM API Contact Model | Cannot load plugin file.

MQ
MQ Altair Community Member
edited February 2023 in Community Q&A

Hello everyone,

I have compiled an API contact model. This is not loading in EDEM under 'particle-to-particle' interaction. This was working just fine couple of days back.

Any clue(s) or pointer(s), what could have gone wrong here, may be during compilation?

image

Thank you.

Best regards,

MQ

Tagged:

Best Answer

  • RWood
    RWood
    Altair Employee
    edited February 2023 Answer ✓

    Hi,

    Debugging within Visual Studio (or similar) would be your best bet to find out more.

    Off the top of my head, check things like:

     -  preference files not loading (path)

     - compiling 32bit and not 64 bit

     - trying to load a debug build on another machine

     - incorrect API version specified

    Richard

Answers

  • RWood
    RWood
    Altair Employee
    edited February 2023 Answer ✓

    Hi,

    Debugging within Visual Studio (or similar) would be your best bet to find out more.

    Off the top of my head, check things like:

     -  preference files not loading (path)

     - compiling 32bit and not 64 bit

     - trying to load a debug build on another machine

     - incorrect API version specified

    Richard

  • Honghu GUO
    Honghu GUO Altair Community Member
    edited January 2023

    Hi, I just solved this problem in my case. I created an API file and output a "debug" file using VS. But we should output a "release" version to use it. Hope it can help you.

  • MQ
    MQ Altair Community Member
    edited February 2023

    Hi both,

    Thank you for your input. I actually recompiled my contact model with the VS project and it started to work fine.

    Best regards,

    MQ