using Inventor 2012 API
Is it possible to export a ipt file to a dxf file? (no im not talking about the flat pattern) I mean any ipt file sheet metal or not.
Thanks,
wade
Could you please test the Export to DXF API Sample from Inventor API help? It can be found in Translators section.
Cheers,
that was the first thing i tried but unfortunately there code does not make a valid dxf file..
error from autocad when opening the dxf file..
Error in drawing header on line 1.
C:\tempdxfout.dxf is not valid DXF file
Invalid or incomplete DXF input -- drawing discarded
thanks anyway
If you upload 1) Inventor file, 2) VBA test code and 3) produced by this code dxf file, then we have a chance to investigate this problem.
here is a part.ipt file with the VBA code..the code was copied pasted from the Inventor help file..
Have you tested your workflow in UI?
You should create drawing from your part and then run translator to produce DXF file.
Cheers,
ok so I need to create a drawing from the part.ipt file first then convert to DXF correct? in other words you can not create a DXF file from a Part.ipt file directly
You're correct, Inventor does not support writing 3D models to DXF. You can write out 2D data, sketches and drawings, as DXF.