Solver API examples
A few examples are supplied with the installation, that you can use to practice with and build upon.
All relevant files are installed, by default, into the installed directory folder, typically C:\Program Files\Autodesk\Moldflow Insight 20XX\data\solverapi
Example codes are provided for each Solver API option, as described below. For each example, a Visual Studio project file ('MoldflowUserFunctions_***Example.vcxproj' etc) is supplied to assist in building the 'MoldflowUserFunctions dll'. Build your library as a 64-bit Release DLL. Once built, the file 'MoldflowUserFunctions.dll' should be copied into the installed directory folder, typically C:\Program Files\Autodesk\Moldflow Insight 20XX\bin
Each .vcxproj file calls in the relevant files required to build the .dll file. These include:
- .cpp file(s)
- .h file(s)
- MoldflowSolverUtility.h
- MoldflowUserFunctions.h