Dxf import

Hi.
I am doing some work for a client who would laike to be able to import CAD drawings into some Labwindows CVI software I  am writing. It is a non-destructive testing application and my business is supplying ultrasonic instrumentation and a software package written in Labwindows. The ultrasonic transducer assembly will be position encoded and manually controlled and the client would like the path followed by the transducer assembly plotted on the CAD drawing of the structure being inspected.
I wrote a routine a few years ago that imports an STL file into Labwindows and displays the 3D image using the OGL library. It works  OK, but DXF or DWG import would be better. I gave up on writing code for DXF import because it is quite difficult. Is there any third party CAD import software that integrates with Labwindows? It does not need to be free, but it does need to be easy to use.
I  have searched the forum but could not find any posts on CAD import or DXF import.
Any help  would be appreciated.
Regards
John Norman

Hi.
I was also thinking along the lines of adding the probe path data to a new layer. Glad you confirmed my thinking on this.
The last time I looked, about 4 years ago, I could not find any satisfactory DXF import routine that I could use. At that time I wwas looking for code examples so that I could write my own routines. It just seemed to difficult at the time to write a routine recognizing all the entities in a DXF file that will allow a  sensible reproduction of the drawing, so I gave up.
This time I am more interested in plugins that will work  or can be made to work with LabWindows. Has anyone tried using the OpenCascade DXF import/export routines, for example? These routines are not free, but that does not matter this time. Is there anything else out there that might work with LabWindows?
When I looked into this in the past, I seem to recall finding some forum discussions on the subject of DXF import into LabWindows, but I don't seem to be able to find them again.
Regards
John Norman

Similar Messages

  • No 3D data upon DWG or DXF import from ArchiCAD

    I have been trying several times to import 3D models that were generated using ArchiCAD 11 & 12 into Acrobat 3D Version 8. I was using different approaches on each attempt. ArchiCAD is not installed on my computer.
    Importing the models as .DWG file returns a 2D floor plan drawing while importing as .DXF returns a 2d floor plan that can be moved around and rotated in 3D space. After importing as .DXF the model tree is included in the PDF. However, the 3D data has no 3D information but remains a plain 2D drawing.
    Is this an Acrobat 3D issue or is there a way to maintain the 3d data upon importing?
    I am no CAD expert at all.
    Thanks in andvance.
    digital_rescue

    Adam,
    The export filters that you've seen are used in Structured FM when the graphics have been imported by copy (which isn't really a recommended practice in the first place). You set up the read/write rules to specify what format to export the graphics as.
    However, if you use a standard workflow where the graphics are imported by reference, there is nothing to export as the graphics are always available externally.
    If you're expecting the entire FM "page" to be exported in DWG/DXF format, then this is simply not possible from FM. There are third-party PDF to CAD export utilities available, which may be worth considering if you need the entire page exported.
    If your client just wants access to the DWG or DXF files when working through the documentation, then using a tool like Microtype's TimeSavers to create an interactive PDF Portfolio with links to the original CAD files from the FM files would be the route to go. You can also include fully interactive 3D CAD drawings into the PDFs via FM, giving your client the ability to interactively explore parts assemblies in the documentation.
    For background on PDF Portfolios, see:
    http://www.layersmagazine.com/build-a-better-portfolio.html
    http://acrobatusers.com/tutorials/combining-files-pdf-portfolios
    http://acrobatusers.com/tutorials/acrobat-9-pdf-portfolios
    there are quite alot of tutorials and videos on the Acrobat Users site on Portfolios weel worth exploring.
    For TimeSavers general see: http://www.microtype.com/timesavers.html
    For 3D samples see: http://www.microtype.com/showcase3DAsst.html

  • DWG/DXF import from Sketchup to Illustrator CS6

    HI!
    I have recently discovered the ability to import dwg/dxf files from Sketchup Pro (using AutoCAD Version: Release 14) into Illustrator CS6...
    However, the only way that I seem to be able to see the DWG is by selecting 'Scale to Fit Artboard'... When I attempt to import using 'Original Size' or the 'Scale by' input factor the item doesn't seem to show anywhere on the artboard?
    Any ideas what I might be doing wrong?
    Thanks!

    Thanks Mike!
    Well, the sketchup file was created in mm, but for some reason their export 2D Graphic dialog box only has inches option (not that it should make any difference since the scaling factor runs the same across the board). Just in case I've changed the units in the sketchup file to inches to bring consistency and match the exporting parameters.
    I've exported the sketchup file to DWG and DXF as both 1:1 and 1:200 to cover all angles and then import into Illustrator as 1:200 and 1:1 respectively to no avail. I've also tried to export and 1:1 and bring in at 1:1 but again no luck, and also attempted to import into Illustrator using the 'Original Scale' tick box.
    The only way the import works is by selecting 'Scale to Fit to Artboard' which obviously gives me an arbitrary scale. I guess a workaround might be to draw a bounding box over the contents in Sketchup and use this to manually scale in Illustrator? My only fear here is losing accuracy though...
    What do you think?
    Dave

  • DXF import splits up paths into segments..

    Hi everyone, I am trying to take a dxf file, created from solidworks, and edit it in illustrator (I'm running CS3). I can open the file without trouble, but it's tricky to edit, because it splits every line segment up into a separate path and groups each one individually. For instance, a rectangle with rounded corners will be 4 separate straight line segments and 4 semicircles. They look okay if all I was doing was resizing or changing stroke color, but I can't add a fill. I have found that I can select everything and ungroup it all, but then I have to go around and select each touching endpoint and join them one at a time. There has to be a better way to do this.. right?
    I have tried several different export options for the dxf and a dwg and a pdf all with the same results..

    Have a look at Concatenate.
    http://rj-graffix.com/software/plugins.html#concatenate
    I've never used it, but it seems to do the trick. For $20, it could save you a lot of time.

  • "plugin cannot be initialized" dxf import

    Hello,
         When I attempt to open a dxf file in Illustrator CS5.1 mac I get the error 'The plugin cannot be initialized for lack of the initialization file "ADINIT.DAT"'.  The dxf files are a variety of versions from several different sources.  Exporting to dxf seems to work fine.  It's quite the pain to run them through another program and convert them first, any help would be appreciated.
    Thanks,
    R

    I do not know if there is a way to fix this issue if you are having it except to mention that if it is always by the same proportion you can report it as a bug and you can also perhaps use and action with a keyboard shortcut to rescale it. That would get your accuracy back and though a work around not a terrible one to have use a simple keyboard shortcut and voilá!
    Bug report here:
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • How not to loose precision when exporting to dxf?

    When a simple line drawing of exactly 1780.00mm wide is exported into a new dxf file and that file is imported back into illustrator CS4 the precision of the imported drawing is not the same. Often about 0.2 mm smaller.Tried other units, did't  work. Snap to grid/point was switched off. I need the exact size again..
    I hope somebody can help?! Many thanks.

    Niffo,
    Of course I understand the importance of accuracy, especially if the design will be transfered to physical fabrication. But what I'm suggeting is that you aren't losing "image size," but rather losing "line weight" or at least its reference. As a result, you may be seeing a different dimension. Consider this oversimplifcation:
    Dimension A = the distance between the lines.
    Dimension B = the distance between the line weights at their outer extents.
    Could it be that the dimensions of your drawing are being measured at different points pre-dxf export and post-dxf import?
    I don't know, but this is the possibility I was presenting in my previous post.

  • I can't get rid of layer names from the Ultiboard PCB properties-General layers tab

    A bunch of DXF layer names were erroneously entered into Ultiboard 10.1 a few years ago during a DXF importing operation. I upgraded to 12.0 recently and hoped that the old layers would be eliminated. I have been wanting to get rid of them for a long time. I tried deleting the ub_config file in AppData, but it didn't remove them. Is there anything you can think of to extract them from the program's grasp? Thanks, Tod
    Solved!
    Go to Solution.

    Hi Tod,
    I suspect one of your design file is causing this.  If you go to Options>>PCP Properties>>General Layers, do you see the DXF layers in here?  If you see the layers, can you select it then press the Delete button?
    Tien P.
    National Instruments

  • Formatting files for  PC's using AutoCad machine control

    I sent a series of line drawings (Illustrator 12.0.1, OS 10.4.1) to a water-jet cutter who asked for the drawings in dxf format. He controls his CNC machine with a PC running AutoCad program. The drawings imported into his program OK but he says AutoCad doesn't like the Illustrator segments, particularly the long bezier curves and he has to go over every drawing adjusting the control points and adding others to get the CNC machine to perform properly. (Dumbing down???)
    I'm thinking the solution is to somehow apply the Illustrator option 'split long paths'. Is there an option to do this according to values that I can enter somewhere? Or is it only possible to do this manually with the scissors tool? Or does anybody have any experience with preparing files for use by PC's with AutoCad for the control of a CNC machine? Advice?

    James,
    George needs less segments/anchor points. The bezier curves that Illustrator creates when exporting to DXF is a nightmare for a waterjet cutter. It is interpreting the bezier data as many tiny individual line segments that make up an arc. He would be better off exporting version 8 AI ( everything higher than 8 is PDF based ) if his vendor could import it. They are definitely "cleaner" when importing into CAD vs the DXF export from AI and DXF import into AutoCAD. I am assuming the vendor cannot import AI, that is why I recommended www.kandusoftware.com
    I have been down this road many times, cleaning up bad DXF files with numerous line segments. You get good at it after a lot of practice, but it is still takes a lot of time to get good output on the waterjet cutter.

  • Putting text in the soldermask

    Hi,
    Is there a way to put text in the solder mask layer?
    When I try to do so (select solder mask top or bottom/place/graphic/text), the text button is grayed out.
    I'm using Ultiboard V10.01
    I'd like not to add an extra silkscreen, for the few letters that nee to be placed in a new layout....
    this way, the board will be a little cheaper...
    Thanks
    Stressed user

    For putting text in the Soldermask Layer use DXF import

  • Freehand to Autocad or Archicad

    Hello
    By any chance, do you know how can I import my Freehand 10 files into Autocad or Archicad
    Thanks in advance
    Best
    Cyril

    I'm using FHMX on Windows7 - others may have better methods.
    You will need an application that can import  files from FH and export to DXF. 
    A couple of methods I use:
    export each grouped FH layer as an illustrator 88 file and include common registration marks top left/bottom right on each layer
    open the individual illustrator files in CorelDraw and rebuild the drawing file layers snapping each layer into place
    export the CorelDraw file as DXF
    import DXF into AutoCAD
    Using Illustrator CS5:
       Illustrator CS5 can open FH files directly and then export as DWG or DXF and CS5 preserves the FH layers. I have used this method with simple FH files, but I don’t know how more complicated files react.
    Expect some problems with text , bezier curves, fills etc. with both methods - its not perfect.

  • Text Import Options when Placing a .DXF File

    I am trying to place or even open an AutoCad .DXF file in Illustrator and keep getting a window asking for text import options.  I have read several forums and files about importing .DXF files in Illustrator and it seems that it shouldn't be that hard.  What am I missing?
    Thanks,
    SionnanC

    If you want to, email me one of your sample DXF files, and I will take a look at it. I have a a lot of experience with DXF files.
    [email protected]
    or
    [email protected]
    Ralph

  • BUG on CS3 (intel) importing DWG/DXF - resolved

    Hi,
    here is a new bug on AI CS3 working on an Intel Mac.
    Importing a big Autocad DXF/DWG always said "not enough memory"... I've 4GB Ram, even if you update DWG/DWG.aip
    But the same file is opened on a G5 with less Ram.
    Restarting AI CS3 in Rosetta mode Autocad file is correctly opened with all his layers.
    n.

    I don't know what the problem might be?? I was hoping to get some reaction or a suggestion to solve the problem by posting this thread. The only solution I've found on some vector design forum, was to use Illustrator CS2 for the DWG export. In Illustrator CS2 the DWG export works properly. But if you don't have CS2 it might be hard to get it, because Adobe only sells the new versions and not the old CS2 versions any more. So I hope you have CS2 too.

  • Import .dxf to ultiboard

    I am working with Ultiboard and I see that it has the ability to import
    a .dxf file from a CAD program. I have a .dxf file for a componet I
    would like to get into ultiboard. When I import it, I can't find it.
    Does this import feature allow me to import a footprint or even the 3d
    design of the component? Or do I have to manually design each footprint
    for each non-generic component I use? If there is a fast way to do this
    or a way to import these CAD designs it would greatly save me time.
    Please let me know about this ASAP. Thank you.

    Hi,
    As you mention, DXF file import is a feature you can find in Ultiboard. Lets go point by point here:
    1. The reason why you might not see your imported object might have to do with the 'layer' assigned to the DXF file when you imported, that should had been a option to select on the Import Dialog. Lets say, you imported the DXF file to the Silkscreen Top layer, you should have that layer selected for viewing under the Layers Tab of the Design Toolbox. This applies when you are working on the Design Workspace.
    2. When you are creating your own custom footprints... you can indeed import DXF files, however, any pads included in your DXF file are not functional, you will need to manually assign  pads to your footprint (for route creation), then you will save this footprint to your user database and use it for your own components, in this way you do not need to create them every time. Once you save the footprint in the database, you can assign it to a component that you would usually use. In the Footprint Edit Mode you will select File >> Import DXF for this action. If this option is not present try Options >>  Customize User Interface in order to find this function and add it to your menu.
    3. As for the 3D info, that one I'm not so sure about, I would say no, you cannot import 3D data, based on how a footprint file works, you build the outline, create pads, and then you also configure 3D data, but I'm not sure if you could import it. I don't have a 3D DXF file with me in order to test it, but I doubt it will work.
    If you need help on how to create a component's footprint or schematic symbol please consult your User Guide.
    I hope this helps.
    Nestor
    National Instruments

  • Importing and displaying DXF files into Labview

    Dear all,
    Building an application for motion control, I want to import a DXF file into labview to be used as a template for the motion. For verification I would also need to display it. I cannot use ActiveX properly bcse I develop on Mac....
    If you have any idea or experience on how I might do this, I will be glad to hear from you !
    Thanks in advance !
    Regards,

    To display (not parse) DXF files and other CAD file formats (PRT, SLDASM, SLDDRW, SLDPRT) I've been using an ActiveX container with the EModelViewControl object from the free SolidWorks eDrawings. Use the OpenDoc method to display the file in the container (see attached snippet).
    - Philip Courtois, Thinkbot Solutions
    Attachments:
    eDrawings snippet.png ‏21 KB

  • Scale changes when importing DXF to Ai

    Hi,
    When importing DXF to Ai (V15.1), the scale/size of the object (a gear) is all wrong....
    Is there a way to keep the actual size of the drawing to be identical to the one in the DXF file?
    Thank you in advance.

    In AI, you can change the units in preferences to cm or mm. You create the DXF file in cm or mm units in CAD, and when you OPEN the DXF in AI, you can choose the scale = 1 , units = 1 millimeters or centimeters.  Older versions of AI had scaling problems with DXF that were never resolved, but I think AI 5.1 has resolved that issue.
    Are you having a scaling issue that is unrelated to inches verses mm or cm ?

Maybe you are looking for

  • Illustrator files CC too big 25-30 min to save

    Illustrator files on CC are taking 25-30 min to save and when opening them takes the same amount of time. on Mac. Often when opening the file the rainbow wheel comes on. The files for some reason are about 2GB. How do I fix this as it is becoming a h

  • Iphone 4s screen is frozen

    help.  My new iphone 4s screen is frozen. 

  • Set Tolerance Limits for Price Variance when PO-based Purch.Requisition

    We must garanty that Price from Purch.Requisition will be the same at PO. IF some variance occur a error messag must be sent to user and PO could not be saved. I found at customzing under SPRO > Materials Management > Purchasing > Purch.requisition >

  • BEx query problem which based on infoset

    Hi, BW experts,      Now I created a infoset which connect one ODS and one infoObject, ODS structure:  CIO_CO_Area, 0Company, K1, KF1, K2, KF2 ( KF1 and KF2 are data field to store numeric value)      InfoObject is 0CO_Area (connect to ODS.CIO_CO_Are

  • Creating shortcut to a file upon installation

    I want to create a set up program that could install all the files and create a shortcut to that file on the desktop....plz tell me how to do it irrespective of the platform used