01-19-2010 03:28 PM
Hello all,
I have a drawing in autocad and i want to program the elements in the drawing ( such as walls, doors, windows etc) to change colours and to move using LabView. How do i do this, please?
demmy
01-19-2010 11:43 PM
01-20-2010 12:29 AM
01-20-2010 12:42 AM
01-20-2010 04:24 AM
Thanks all but i still does not answer the question. I don't want to import the autocad drawing into labview interface because i labview does not have autocad commands and tools to expend and create more drawing. I want to be able to modify the elements and objects in my autocad drawing by simply programming each object from Labview. Does this have to do with the DLL? Pls, help me out.
Demmy
01-20-2010 04:27 AM
01-20-2010 05:27 AM
Can you help out with an example? I don't know how to go about it, please.
demmy
01-20-2010 10:29 AM
Hi,
create a drawing a draw a line in it. Save the drawing and open the attached VI. Change the path to the specified drawing and run the VI.
It will rotate de line with the specified angle with the starting point of the line as the basepoint.
cosmin
controlsag
01-20-2010 11:03 AM
Thanks alot but please can you send the VI in version 8.6 i cannot access it. Also, i don't want to operate my model from labview. I want to be able to program the objects from labview to reflect in autocad and not to bring my drawings into autocad.
pls, reply
01-20-2010 11:14 AM - edited 01-20-2010 11:16 AM
demmy wrote:Thanks alot but please can you send the VI in version 8.6 i cannot access it. Also, i don't want to operate my model from labview. I want to be able to program the objects from labview to reflect in autocad and not to bring my drawings into autocad.
pls, reply
You can't. LabVIEW does not know how to manipulate AutoCAD files. What it can do is open the AutoCAD drawing in AutoCAD and issue commands by way of ActiveX to manipulate the objects within it. It is the same as using LabVIEW to work with Excel files. LabVIEW essentially opens the .xls in Excel and uses ActiveX methods and properties to manipulate the objects within Excel.
Here is Cosmin's file in LV8.6