Automatically export DXF with part number as single line for etching

Automatically export DXF with part number as single line for etching

aabiskar.basyal
Contributor Contributor
1,245 Views
3 Replies
Message 1 of 4

Automatically export DXF with part number as single line for etching

aabiskar.basyal
Contributor
Contributor

I want to thank everyone in this community for your brilliant post and kind suggestions. It has helped me heaps.

 

I am pretty new to ilogic. I am using inventor 2015 and was wondering if it was possible with ilogic or other technique to automatically export DXFs of only sheet-metal parts inside of a drawing AND insert the part number inside the DXF files for etching as single line.

 

I went through several post in this forum and found ilogics to get the double lined text by:

1) Driving a parameter with the part number 

2) Inserting the parameter into the sketch and extruding cut 0.5mm 

3) Then running the ilogic in drawing that exports DXF of only the sheet-metals part which are in the drawings. (the exported DXF are saved as part number of the sheet-metal)

 

But with this method I am getting double lined text.

 

I could manually open each DXF file in AutoCAD and insert single line text but we work with large assemblies, it would be nice if we could automatize the process. 

Thank you.

 

*I have also attached iLogic here for reference

 

0 Likes
1,246 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

If you create a sketch on your flat pattern and put the text there, you don't have to extrude for it to show on a DXF export.

I don't know how to do it with iLogic, but I'm thinking you could investigate that?

0 Likes
Message 3 of 4

cadman777
Advisor
Advisor

I read some threads (can't remember which ones) from years ago that show how people did it using AutoLISP AFTER exporting to DXF and bringing into AutoCAD. At that time, no function existed in Inventor to do what you want to do. But maybe it does now? I don't know b/c I'm still using 2010.

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
0 Likes
Message 4 of 4

cadman777
Advisor
Advisor

I tried putting a sketch with text on the flatpattern, but:

1. it won't transfer into DXF when Exported from the PART file,

2. it will transfer into DXF when SaveAs>DXF from the DRAWING file.

But that requires an extra step in the drawing view: RMB>Get_Model_Sketches

But you must make sure you have the correct FONT and explode it when it gets into AutoCAD, or else change it when it gets in there with a script or LISP.

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
0 Likes