Connecting to Access database through navisworks interface------ANY HELP

Connecting to Access database through navisworks interface------ANY HELP

Anonymous
Not applicable
1,799 Views
3 Replies
Message 1 of 4

Connecting to Access database through navisworks interface------ANY HELP

Anonymous
Not applicable

Hello All,

I am trying to connect to an access database through navisworks interface using my plugin (written in c#). But i can't seem to open the database. How do i go about this?

 

0 Likes
1,800 Views
3 Replies
Replies (3)
Message 2 of 4

lee.mullin
Alumni
Alumni

Hi,

 

As a first step we recommend you try this outside the API.

 

Please use this blog post as a guide for your first steps: -

 

http://beyonddesign.typepad.com/posts/2011/09/datatools-links.html

 

Once you have got this working please provide more information about what you are doing and what goes wrong when you try that.


Lee Mullin
Construction Technical Specialist
Autodesk Ltd.

0 Likes
Message 3 of 4

Anonymous
Not applicable

Hi, I tried it but what i am trying to do is this:

I am tring to get data from some RFID tags imported from the database. The RFID tags are attached on components in my lab. So i have a code that captures the RFID tag data, sends it to a MS database. I want to capture the data from the MS database to a form that i created through the NW API (plugin). If the values of the data are true, i want the associated components e.g a door in a NW model to change color.

 

I created a button on my form to open the database but when i click on it, it doesnt open. I dont know why. I know you guys did a similar thing with VB (it is in the COM example folder--database link) but i don't understand VB. Can you help?

 

0 Likes
Message 4 of 4

Anonymous
Not applicable

Hi Lee,

I have attached a sample plugin that i developed to connect to the database. I removed the main code so that i can attach and send the file easily.

Also if you can help me convert the VB sample database-link application to a C# plugin. I will be really greatful. I have been on this for 2 months now and i really need help, pleaseeeeeeeeeeeeeeeeeeeeeeeeee.

 

Thanks

0 Likes