Navisworks API

Navisworks API

Reply
Active Contributor
vgottipa
Posts: 31
Registered: ‎02-10-2011
Message 1 of 2 (236 Views)

Adding View Control to toolbox items in Visual Studio

236 Views, 1 Replies
08-20-2012 08:13 AM

Hello, I would like to make use of Navisworks controls library to add a navisworks control to a form. However, I have nott been able to figure out how to add the control to toolbox to visual studio.

 

I have added refrences to Autodesk.Navisworks.Controls.dll and Autodesk.Naviworks.Api.dll. I have also tried to add the control via 'Choose Toolbox items' and browsing to Autodesk.Navisworks.Controls.dll. However, the view control and document control still would not show up in the toolbox.

 

I can add SDIViewer and MDIViewer controls but the documentation does not mention if they can be used. 

ADN Support Specialist
xiaodong.liang
Posts: 1,276
Registered: ‎06-12-2011
Message 2 of 2 (225 Views)

Re: Adding View Control to toolbox items in Visual Studio

08-28-2012 01:22 AM in reply to: vgottipa

Hi,

 

it looks you have checked this question through ADN process. For other's reference, I enclosed my answer here:

 

It is not strange that you hit the issue because you are using VS on 64bit OS. The designer of VS is still 32bit on 64bit. So the toolbox cannot load the 64bit .NET control.

But it can load the 64bit control on runtime. So typically, we suggest the developer create the program on 32bit OS and copy to 64bit. You can still design it on 64bit. The only issue is you cannot add it from toolbox.
 



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.