<< Click to Display Table of Contents >> Navigation: User DLLs > Add-In DLLs > Using DLL Routines |
To use a DLL and any of their Routines, the DLL library must first be loaded into the 3DCS session. Then a routine function is selected inside a user-DLL move, tolerance, or measure.
This document assumes that the DLL library file has been created by compiling and linking with the 3DCS interface. For more information on creating the library file, see the document Creating Custom Routines in 3DCS.
Within this Section:
|
1.To load the DLL into 3DCS, go to the 3DCS Tools toolbar and select User DLL. The Load Dialog will appear. 2.Click on [Add DLL] to select one or multiple DLL file to load into 3DCS. The File Explorer will appear, which will open the Add-Ins folder of your latest 3DCS installation. 3.Once a DLL file is selected in the file selection dialog, it will show up in the list.
|
---|
1.To remove any loaded DLLs, select the DLL from the list of loaded DLLs, and then select the [Remove DLL] button. Multiple DLLs can also be selected and removed from the User DLL Dialog. 2.To approve the changes made in the dialog, click OK, otherwise Cancel.
|
---|
Some of the DLLs contain multiple different routines or functions. For example: The Auto Bend DLL contains seven different types of move routines. Each will need to be specified when creating a specific move. 1.For an example on using a DLL routine, load the Auto Bend DLL into 3DCS. 2.Since this is a move-type DLL, create a new move in the Root level. 3.In the Move dialog, change the Analyst drop-down to User-DLL. 4.Select the [Add Analyst] to add a new Move. The move dialog will appear. 5.In the Move dialog, change the User-Routine to AutoBend. This will use the Auto Bend routine from the Auto Bend DLL library.
|
---|
Some DLLs have been added to the software to automatically load when the user runs 3DCS. Such as the Simulation Function DLL (dcs_Simu_Fn.dll). The dcs_Simu_Fn.dll holds the majority of Simulation type routines, such as Worst Case Simulation and RSS Case Simulation. 1.Open the User DLL dialog. 2.At the bottom of the dialog, a Run Function drop-down is available with all of the functions in the Simulation Function DLL. 3.Select the dcsSimuWorstCase function and select [Run Function]. A Simulation dialog, similar to running a Monte Carlo Simulation, will appear. 4.Enter the desired amount of samples or select [Run].
|
---|