I'm new on API for Navisworks, but I already read the manual, search on foruns, blogs, and still no clue.
In the manual I tryed to folow the steps and generate .dll files. It was ok, Visual Studio create the files inside Plugin folder of navisworks exacly like the manual says.
But when I open Navisworks Simulate 2011, it doesn't show the Addin's button, and I don't have any idea why.
I search in the forum and find something about login as a administrator and run the program as a regular user can have some problems. Should I put the .dll files as an administrator only?
Or if I put the .dll files as a regular user and run the program as a regular user it should work, once that I'm usind the same folder?
Solved! Go to Solution.
I do not hear an issue in which the previledge would affect plugin loading. I'd firstly want to check
- can the API sample work?
- have you tried with an empty plugin? i.e. the Execute method is empty.
- you said "Visual Studio created the files inside Plugin folder", did you mean, assume your plugin project dll is named "MyTestPlugin.dll", the folder is
<Navisworks Installation Path>\Plugins\MyTestPlugin\
- did your plugin depend on any other dlls?
thank you for your reply.
I'm trying to make the samples Naviswork's API to work, but it doesn't appear.
I'm attaching the Plugin Folder for you to have a look.
After a lot of tries with no sucsses, I downloaded the trial version of Manage 2013, to see if the problem was something in the machine.
I did the same steps with all samples API for MAnage 2013 and they are all workimg.
But on Simulate 2011, wich is the software that I have license, still not working.
Can I know if you have reuilt the plugin with 2011 references (e.g. autodesk.navisworks.api.dll) when you tested with Simulate 2011? .NET API is not back compatible currently. That means you will need to rebuild with the version of release which you want to use.
Or I misunderstood your scenario?
The first one that I did was in Simulate 2011. I didn't have Manage 2013 installed.
So I just had Navisworks.API.dll of Simulate 2011.
And I'm using the samples API, and all the references are all ready inside the Visual Studio.
When you "Build" on VS, all the files are created in side the Plugin folder, exacly like should be, but when you open the program the Addin's Tab doesn't appear.
do tou think it can be the VS version that I'm using?
On manuals of Simulate 2011, it says VS2008, I'm using VS2010.
when I open the example project for the first time, VS makes a conversion from 2008 to 2010.
I don't have any other idea.
Autodesk support in Brazil, give me the solution.
Navisworks 2011only accept .NET 3.5, and Visual Studio 2010 works as a default on .NET 4.0.
So you need to change in the properties of the project to use .NET 3.5
I think the Brazil supporter is Augusto He asked me about the .NET version for each Navisworks two days ago.
glad to know the problem is addressed. When I asked you if the SDK sample works or not, it implied if there is some differences of project settings between your plugin and the SDK's. Sorry not highlighting .NET version earlier.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.