Navisworks API

Navisworks API

Reply
Active Contributor
31 Posts
3 Kudos
Registered: ‎02-10-2011
Post 1 of 2

Adding View Control to toolbox items in Visual Studio

251 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
1,352 Posts
81 Kudos
Registered: ‎06-12-2011
Post 2 of 2

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
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!