Navisworks API

Navisworks API

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

Adding View Control to toolbox items in Visual Studio

245 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,335
Registered: ‎06-12-2011
Message 2 of 2 (234 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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.