Custom node - Issue with outside .dll references

Hello Friends,

I am newer developer in C# and am having some issues creating a custom node that opens a SAP2000 model in Dynamo. I created a script in C# that successfully opens a SAP2000 model, however, when I import the .dll into dynamo, the node does not work. Does anybody know how to fix this error message I am getting:

Picture of Error:

Picture of Code:

Make sure your external library (SAPE2000v19) is in your package bin folder.

Thank you, that worked. Just to clarify, any reference .dll I use within the c# code should be included in the bin folder to be incorporated in the dynamo node?

If it’s external to the executing Autodesk applications (i.e. Revit and Dynamo), yes.

3 Likes