Hi
When using the API it uses the library “femdesign.core.dll”, which is placed locally on the computer. However, this means that when multiple people are to access a script, they manually have to change the file path of this library.
Is there a way to feed a file-path into the API - to avoid this:
Best Regards
Thomas Aamand
Hi @Thomasaar! 
You have several solutions:
- If you insist on using a DLL reference, the smart way is to use the built-in Windows environment variable and specify the path to the .dll file like this:
%APPDATA%\McNeel\Rhinoceros\packages\8.0\FEM-Design\24.1.1\FemDesign.Core.dll
-
Another way to avoid this issue is to just copy the FemDesign.Core.dll file and place it in a directory with the same name as the other users (because that’s what Grasshopper complains about, the “Markus” folder is not found).
-
Otherwise you can use NuGet from inside of the script component and install the package (FemDesign.Core).
- You can also add package references and import them into your code.
2 Likes