43.2.2. Creating ProcessNet General DLLs

The user can create the ProcessNet General DLL.

Step to Create ProcessNet General DLL

  1. In Visual Studio, click New, and then click Project to open the New Project window.

    ../_images/image02118.png
  2. In the Visual C# or Visual Basic group, in the RecurDyn folder, click ProcessNet Project, and then create a project

  3. The project template is automatically added if RecurDyn is installed in a computer installed with Visual Studio 2010 or higher.

    ../_images/image02220.png
  4. Write and build the code.

  5. When you create a ProcessNet Project, default example functions, such as HelloProcessNet() and CreateBodyExample(), are also created. Replace these functions with the function that you need and then build the project to create the DLL.

  6. Run ProcessNet Manager, and then load the DLL you built. Like ProcessNet General displays only the public void functions within the ThisApplication class.

    ../_images/image02313.png
  7. Run RecurDyn, and execute the functions in the loaded DLL.

Note

After installing Visual Studio, the user must install RecurDyn. Otherwise, the user needs to install it manually.
Source: <Install Dir>\Bin\Addin\ProcessNetManager
Target: <Documents Dir>\Visual Studio <Version Number>\Templates\ProjectTemplates\RecurDyn
Make a copy of the <RecurDyn Version> ProcessNet CSharp Project.zip or <RecurDyn Version> ProcessNet Visual Basic Project.zip file in <Install Dir>\Bin\Addin\ProcessNetManager directory and place it in C:\Users\<User Name>\Documents\Visual Studio <Version Number>\Templates\ProjectTemplates” directory.