Autodesk Navisworks API
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
How to reference other dlls into my plugin
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Ok this is my setup.
I have:
A plugin for Navisworks.
An executable which calls and runs the plugin.
A dll containing forms and methods that both the executable and the plugin need to access.
My question is: Where do I need to put this dll so that the plugin can find it? Currently, when I'm trying to debug my plugin, I'm getting a "could not load file or assembly {my dll}... The system cannot find the file specified" error as soon as it tries to access a method in the referenced dll.
I'm pretty new to Navisworks so any help would be very much appreciated.
Thanks
Solved! Go to Solution.
Re: How to reference other dlls into my plugin
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
You need to copy any dependencies of the plugin except any generated by the Navisworks API into the 'dependencies' folder, instead of the same folder of the plugin dll
e.g. Assume the plugin is "NWPlugin", it has one dependent class: Class1.
<NW>\Plugins\NWPlugin\NWPlugin.dll
<NW>\Dependencies\Class1.dll
Xiaodong Liang
Developer Technical Services
Autodesk Developer Network
Re: How to reference other dlls into my plugin
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Excellent. Thank you very much.

