LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview and Autodesk Revit

Hello All,

I have been trying to interface Revit Architecture with LabView. Revit is an autodesk product likeAutocad. The only difference between the two is that Revit allows you to store information (i.e. it does building Information Modelling). 

It is possible to talk to Revit using C# and VB.NET but i can't seem to do that with Revit. Whenever, i call develop my application, it returns an error at the .NET constructor (entry point). 

Pls, help. I need a solution to this because i dont want to use C#.  You can download an evaluation version of Revit at the Autodesk website. 

0 Kudos
Message 1 of 4
(3,107 Views)

Hi,

 

What error are you seeing? Also which version of LabVIEW are you using?

Do you have any example C# code to prove that you are using the correct .NET library call?

 

Kind Regards, 

Applications Engineer
0 Kudos
Message 2 of 4
(3,007 Views)

At last someone replied. I found out that you cannot run revit directly from labview. So i converted my labview code to a dll. But the problem i have now is that Revit is not loading my labview dll.

Although i tried the same procedure with c# and it worked, but i don't know why it is not working with Labview. Can you help.

0 Kudos
Message 3 of 4
(2,998 Views)

I can try too, I'm assuming that your accessing the DLL with the Call Library Function Node. Is the DLL written in C or was it origionally C++, as if it was C++ it may require some "extern C" parameters adding to make it callable.

 

Do you have the DLL and Header File available for me to try here, and a screenshot of any errors that appear?

 

Another thing to check to access the software may also be to place down an ActiveX Open Reference function, and see if it has an ActiveX interface to the software.

 

Kind Regards, 

Applications Engineer
0 Kudos
Message 4 of 4
(2,988 Views)