LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read an AutoCAD drawing In Labview using ActiveX

I want to read an AutoCAD drawing (.dwg) in the LabVIEW using Activex
plz send me the procedure for it & the Library files that will be required to get the objects.
 
 
 
0 Kudos
Message 1 of 7
(9,240 Views)

Hi Hetal,

LabVIEW does offer an ActiveX interface but you will need to look into AutoCAD's interface for more information.  It may be simpler for you to use the 3D Picture.  Most CAD software allows you to save as a VRML or STL.  Please take a look at the following links:

Create Advanced User Interfaces with OpenGL Based 3D Visualization
http://zone.ni.com/devzone/cda/tut/p/id/3170

 

Message 2 of 7
(9,194 Views)

Hi Elizabeth,

Thank you for the reply .Im using LV 7.1. I tried to export the .dwg to .wrl file bt  the AutoCAD Electrical 2006(which im using)doest support the WRL file format.Is there any other method that u can suggest ??

Regaurds,

 ....HETAL

Message Edited by Hetal on 08-04-2007 05:47 AM

0 Kudos
Message 3 of 7
(9,163 Views)

You might be able to use .NET codes inside labview.

http://usa.autodesk.com/adsk/servlet/index?id=1911627&siteID=123112

I installed DWGTrueView and it creates an item under the Labview Activex control Create Document.

0 Kudos
Message 4 of 7
(9,152 Views)
Had to change the labview background color. Here is an image of a dwg file inside the activex control.
 
0 Kudos
Message 5 of 7
(9,145 Views)
Hello ,
        I used the ActiveX container to create a document ...however  while doing this acad.exe is running in the background (as seen in the task manager processes) bt i cant view the drawing dat i have opened so can u suggest hw 2 proceed further??
 
 
Regards
..Hetal
 
0 Kudos
Message 6 of 7
(9,055 Views)

Hi Hetal,

You mentioned that your software does not support wrl.  What about stl and vrml? 

Please include error handling in your VI.  Are you getting any errors?

Please post your VI and dwg.

0 Kudos
Message 7 of 7
(9,021 Views)