Creating Contact Model DLLs from the MSVS Project Template


When i try to follow the manual step by step to create a UCM with C++ template, it always show this error.
Is there any friends who has meet this problem? How to solve it?

Best regards

Dear Xutao,

The contact model template project appears to be broken at the moment.
I uploaded a PluginFiles archive at
This archive contains an example contact model under PluginFiles\contactmodel\example.
Please use this example as a starting point to implement your custom contact model, and do not hesitate to come back to me for further assistance.
I am sorry for the inconvenience.

Best regards,
Sacha Emam

Dear Sacha Emam,

I compiled a contact model with the PluginFiles archive you shared, but the stress function getOldStress cannot access the stress value.
How can I solve this problem?

Best regards,
Weichen Sun