Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Inventor idw to dxf vs ACAD dxf creation

JasonMayes
Advocate

Inventor idw to dxf vs ACAD dxf creation

JasonMayes
Advocate
Advocate

In the transition from ACAD to Inventor I stumbled into a snag from my previous predecessor. They created a lisp routine that when fired would prompt users a series of questions with the outcome of producing a dxf file with all bolt holes replaced with cross hairs for our vendors to burn only the profile and center punch the cross hair locations to be drilled by our drill department. I have attached a pdf of the pre process and post process of the ACAD routine as well as a dxf created in Inventor. Any suggestions on how to create the same type of dxf as the ACAD version? We are currently saving back into ACAD, changing to ACAD layers, and running the command from there. Not very streamlined. Any help would be greatly appreciated.

 

Thanks,

Jason Mayes

0 Likes
Reply
1,732 Views
21 Replies
Replies (21)

JasonMayes
Advocate
Advocate

@HermJan.Otterman 

This would be a good start down the road if we can't figure out a way to do this from the model. Since our first vision, we have decided to go down the path of creating the dxf files from the model flat patterns and not the drawing. Is there something we could do on that side?

 

Jason

0 Likes

HermJan.Otterman
Advisor
Advisor

to my knowledge there is no way to do this without using the drawing.

with the api you can not control what is happening during the dxf export.

all the steps I have mentioned can be automated (the new empty template should be created once by hand)

so with the api you can create a new drawing from the empty template, create a view from the flatpattern, run my code and export it to DXF, after that you can discard the drawing (close and don't save)

 

the one other approach I did once is hacking the DXF file. the DXF file is a kind of text file the you can read, and also write. you have to do some digging but all lines and circles and all geometry are in the file "coded" you can filter out the circles of some diameter and put in a cross at the center. but as I said you have to do some digging..

If this answers your question then please select "Accept as Solution"
Kudo's are also appreciated Smiley Wink

Succes on your project, and have a nice day

Herm Jan


0 Likes