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
Error with reference for the Navis 2013 DLL
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
I have a plugin already running with the Navis Manager 2012, now I need to migrate it to Navis 2013. So for this I changed my DLLs from my Navis 2012 installation to Navis 2013.
I alerady did this when migrating from 2011 to 2012, but with 2013 is not working, when I compile my project it loses the references to the DLLs, and I could not find out why.
DLLs referenced in project
C:\Program Files\Autodesk\Navisworks Manage 2013\Autodesk.Navisworks.Api.dll
C:\Program Files\Autodesk\Navisworks Manage 2013\Autodesk.Navisworks.ComApi.dll
C:\Program Files\Autodesk\Navisworks Manage 2013\Autodesk.Navisworks.Interop.ComApi.dll
Error
Error 1 The type or namespace name 'Autodesk' could not be found (are you missing a using directive or an assembly reference?)
Reference in code
using Autodesk.Navisworks.Api;
Re: Error with reference for the Navis 2013 DLL
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I assume you have re-added the references from the path of Navisworks 2013. It is a bit hard to address. have you tried with the SDK samples? Or could you try to create a simplest project, with the steps of API help guide to see if it works?
Xiaodong Liang
Developer Technical Services
Autodesk Developer Network
Re: Error with reference for the Navis 2013 DLL
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I am having the same error, no matter where I try and add the references from it will not recognize them.
Re: Error with reference for the Navis 2013 DLL
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Are you sure the file address shown is the right one? In my default installation, it is
C:\Program Files\Autodesk\Navisworks Manage 2013\api\net\bin\x86\Autodesk.Navisworks.Api.dll
Re: Error with reference for the Navis 2013 DLL
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Yes, I add the reference from that location you described and the reference will add but will have the yellow exclamation point and will not build. I can add 2012 dlls, no problem. Also I tried to start a brand new project and tried to add this reference as well and still does the same thing.
Re: Error with reference for the Navis 2013 DLL
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
More information, It seems that the references aren't showing up only in Visual Studio 2008, in 2010 they are adding fine. Thanks.
Re: Error with reference for the Navis 2013 DLL
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
I may not have got the whole picture of this question. It sounds like the issue that is related with the Runtime version. 2013 API dlls are v4.0.30319. While the toppest version of VS2008 is 3.5.
Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

