07-17-2013 04:13 AM
NI Motion assistant
Version 2.6
Labview full development system 2012
I need to read a CAD file and export the XYZ coordinates.
Problem :
It's possible with Motion assistant to enter a dxf file and to export XML file.
After this I can to work with the xml file to export the array of xyz position.
The problem is, without Motion Assistant it's not possible to create the xml file.
how can i in block diagram of labview export XML file from DXF?
07-18-2013 12:10 PM
Hi Avy,
Please refer to this forum on how to import a DXF file into LabVIEW. http://forums.ni.com/t5/LabVIEW/Importing-and-displaying-DXF-files-into-Labview/td-p/44430
You should be able to parse the DXF file and output an xml file of the data points, or any other necessary information.
-N
07-18-2013 03:29 PM
i already find this forum but it's not a good answer for me.
i need to do the same thing that the motion assistant... to import dxf and convert to xml but without motion assistant.
Or, can i launch motion assistant in block diagram of labview??
thank you
07-30-2013 05:39 PM
Hi avy,
Unfortunately there is no way to separate the DXF conversion functionality from Motion Assistant. If you can provide more details on what you are attempting to do with the DXF files in LabVIEW we may be able to suggest another solution.
Cheers,
Andy Church
Applications Engineer
National Instruments
07-30-2013 11:49 PM
hi
thank you for your answer
i only need to convert a dxf files to xyz coordinates in excel.
i use motors and for this motors i need arrays of coordinates xyz.
if you have any idea...
thank you very much
07-31-2013 10:35 PM
Hi avy,
There isn't really an easy way to do this with LabVIEW. You could likely convert the DXF file into an image in LabVIEW and manipulate it then, but you would need to code your own DXF parser in LabVIEW in order to extract the data. DXF files can be natively opened in Excel I believe, but they will simply be presented as delimited text and may need some careful study to translate.
Finally, there are a few DXF to Excel conversion tools available, though I have not used any of these so I cannot comment on their usefulness.
I hope this helps!
;Andy C.
Applications Engineer
National Instruments
08-01-2013 05:43 AM - edited 08-01-2013 05:45 AM
Send me a pm, I have a cad program that can read dxf files and spit out the coordinates. Is this a one time thing or do you need to do it over and over?
Or you could look at something like this
05-01-2015 09:50 AM
@unclebump wrote:
Send me a pm, I have a cad program that can read dxf files and spit out the coordinates. Is this a one time thing or do you need to do it over and over?
Or you could look at something like this
http://www.ransen.com/pointor/DXF-to-XYZ.htm
Another post by unclebump that came up in a different search... This is getting strange.
unclebump, I have a need for the functionality to output labview x/y coordinates to a DXF. The current method is to print out the coordinates and have another engineer plot them in SolidWorks. I would like to streamline this by outputting the DXF in LabVIEW. Is there a way to do this?
Thanks,
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
08-31-2018 04:46 AM
Hi, do you have any sample for this issue?
11-01-2023 02:20 AM
Hi James,
I do have pretty much the same need. I have an image and I must convert it in a DFX format.
Were you able to find a solution?
Thanks.