Excel to DXF

Excel to DXF

satish.patil6Q3MN
Participant Participant
9,917 Views
8 Replies
Message 1 of 9

Excel to DXF

satish.patil6Q3MN
Participant
Participant

i want to convert excel data into DXF file using .net. is it possible using .net autocad api or there is way better than  this to export excel data with its style into dxf file format. 

0 Likes
9,918 Views
8 Replies
Replies (8)
Message 2 of 9

Ruffy85
Collaborator
Collaborator

Hi @satish.patil6Q3MN

 

What do you try to do, Whats the data in the excel file, could we have an example of the Excel file and how it should looks like after, maybe you dont need any programming language to do this.

If my reply was helpful, please give a "Kudo" or click the "Accept as Solution" button below (or both).
0 Likes
Message 3 of 9

sdphg
Enthusiast
Enthusiast

Technically, yes. Can you import your excel data to dwg? if so, you can just save as the dwg to dxf. But if you have complicated excel styles, you may lose some of them in dwg/dxf. 

 

0 Likes
Message 4 of 9

satish.patil6Q3MN
Participant
Participant

basically i have to create dxf file from excel. In short i want to convert excel into dxf file format. DXF should be generate with same format in excel like font size, color, background etc.. 

0 Likes
Message 5 of 9

Ruffy85
Collaborator
Collaborator

You want to do that in Batch, or only for one drawing?

 

you can import Excel file as AutoCAD entitiies. So Format / Font size etc should be the same, if AutoCAd knows your Font.

 

i have posted a Tutorial how to import Excel as AutoCAD Entities on my Blog.

 

www.cadship.de (please check the first Atricle) I ahve a tranlate function on my blog so you should be able to follow)

 

Regards

If my reply was helpful, please give a "Kudo" or click the "Accept as Solution" button below (or both).
Message 6 of 9

satish.patil6Q3MN
Participant
Participant

Thank you for your help. I got alternate solution.

0 Likes
Message 7 of 9

Anonymous
Not applicable

Try netDxf,

 

it is open source, and very easy to use. You do not need autoCAD installed to use netDXF.

one thing with netDXF, there are few limitations, you cannnot create XRecords, or Dynamic blocks using it. there might be other limitations that I am not aware of

Message 8 of 9

ppepinK7PCD
Explorer
Explorer

Hello, I also want to convert excel data to DXF. Here is my example :

 

 

SketchUp::requière ‘creation_module’

$plugin_cuisine_submenu.add_item(‘test dxf’) {

draw_module(30,14.875,0.75,23.875,0.0625,4.5,’y’,’1′,’A:::0′,’4.5′,’p’,34.xxx-xxxxxxxx,10.xxx-xxxxxxxx) #setdeporte1 #standard #0

draw_module(30,14.875,0.75,23.875,15.0625,4.5,’y’,’2′,’A:::0′,’4.5′,’p’,34.xxx-xxxxxxxx,10.xxx-xxxxxxxx) #setdeporte1 #standard #0

draw_module(28.75,4,0.625,19.75,0.625,34.75,’z’,’3′,’A:::0′,’0′,’d’,0,0) #bandedudessus #standard #0

draw_module(28.75,4,0.625,0.25,0.625,34.75,’z’,’4′,’A:::0′,’0′,’d’,0,0) #bandedudessus #standard #0

draw_module(34.75,23.75,0.625,0,0,0,’x’,’5′,’A:::0′,’4.5′,’-1′,0,0) #cotes #standard #0

draw_module(34.75,23.75,0.625,0,29.375,0,’x’,’6′,’A:::0′,’4.5′,’-1′,0,0) #cotes #standard #0

draw_module(29.625,28.75,0.625,0.25,0.625,4.5,’y’,’7′,’A:::0′,’4.5′,’d’,0,0) #dos #standard #0

draw_module(28.75,22.875,0.625,0.875,0.625,4.501,’z’,’8′,’A:::0′,’0′,’f’,23.75,34.875) #fond #standard #0

draw_module(28.5,16,0.625,0.875,0.75,30.25,’z’,’9′,’A:::0′,’4.5′,’t’,0,0) #tablettesajustable #standard #0

create_layer(« A:::0 »,9)

}

caisson 2 portes.jpg2018-03-02 07-21-41.jpg

0 Likes
Message 9 of 9

Anonymous
Not applicable

hi

i would like to convert a single diagram from excel to dxf. 
how would one do that please?

thank you 

0 Likes