I'm using the Ansys ACT Api with C# to create an extension for Ansys (Mechanical).

When developing the extension I need to build a dll file from C# code (using Visual Studio). My problem is that every time I want to test my extension with a new build, I need to restart Ansys Workbench so that the dll of my extension can correctly be replaced.

This is rather time consuming, and I assume there must be a work around, but can't find anything in the documentation or online.


As I discussed about Ansys about this problem, the only solution so far is to copy dll to some location and import this copy instead of the one from you debug/release folder...

  • $\begingroup$ So you mean have another file location, then just change the dll path in the xml or python file which references it? $\endgroup$ – remi Jul 16 '18 at 12:31

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.