Inventor Customization

Reply
Valued Contributor
wowens63
Posts: 98
Registered: ‎06-22-2007
Message 1 of 10 (336 Views)

ipt to dxf

336 Views, 9 Replies
08-27-2013 07:02 AM

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

 

ADN Support Specialist
Vladimir.Ananyev
Posts: 467
Registered: ‎08-14-2012
Message 2 of 10 (309 Views)

Re: ipt to dxf

08-28-2013 02:46 AM 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

Valued Contributor
wowens63
Posts: 98
Registered: ‎06-22-2007
Message 3 of 10 (297 Views)

Re: ipt to dxf

08-28-2013 05:32 AM 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

 

 

 

 

 

ADN Support Specialist
Vladimir.Ananyev
Posts: 467
Registered: ‎08-14-2012
Message 4 of 10 (290 Views)

Re: ipt to dxf

08-28-2013 06:11 AM 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

Valued Contributor
wowens63
Posts: 98
Registered: ‎06-22-2007
Message 5 of 10 (282 Views)

Re: ipt to dxf

08-28-2013 07:54 AM in reply to: wowens63

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

 

Valued Contributor
wowens63
Posts: 98
Registered: ‎06-22-2007
Message 6 of 10 (279 Views)

Re: ipt to dxf

08-28-2013 08:00 AM 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..

ADN Support Specialist
Vladimir.Ananyev
Posts: 467
Registered: ‎08-14-2012
Message 7 of 10 (249 Views)

Re: ipt to dxf

08-29-2013 12:49 AM 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

Valued Contributor
wowens63
Posts: 98
Registered: ‎06-22-2007
Message 8 of 10 (237 Views)

Re: ipt to dxf

08-29-2013 05:18 AM 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

ADN Support Specialist
ekinsb
Posts: 300
Registered: ‎07-21-2006
Message 9 of 10 (229 Views)

Re: ipt to dxf

08-29-2013 02:36 PM 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
Developer Technical Services
Autodesk Developer Network
Autodesk, Inc.
Valued Contributor
wowens63
Posts: 98
Registered: ‎06-22-2007
Message 10 of 10 (219 Views)

Re: ipt to dxf

08-30-2013 05:30 AM in reply to: wowens63

thank you.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor

Twitter

Facebook

Blogs

Pinterest

Youtube