Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ipt to dxf

9 REPLIES 9
Reply
Message 1 of 10
wowens63
1029 Views, 9 Replies

ipt to dxf

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

 

9 REPLIES 9
Message 2 of 10
Vladimir.Ananyev
in reply to: wowens63

Could you please test the Export to DXF API Sample from Inventor API help? It can be found in Translators section.

Cheers,


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

Message 3 of 10
wowens63
in reply to: wowens63

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

 

 

 

 

 

Message 4 of 10
Vladimir.Ananyev
in reply to: wowens63

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.


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

Message 5 of 10
wowens63
in reply to: wowens63

here is all items, but the code is vb.net with visual studio 2010

 

Message 6 of 10
wowens63
in reply to: Vladimir.Ananyev

here is a part.ipt file with the VBA code..the code was copied pasted from the Inventor help file..

Message 7 of 10
Vladimir.Ananyev
in reply to: wowens63

Have you tested your workflow in UI?

You should create drawing from your part and then run translator to produce DXF file.  

Cheers,


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

Message 8 of 10
wowens63
in reply to: wowens63

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

Message 9 of 10
ekinsb
in reply to: wowens63

You're correct, Inventor does not support writing 3D models to DXF.  You can write out 2D data, sketches and drawings, as DXF.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
Message 10 of 10
wowens63
in reply to: wowens63

thank you.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report