.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

save a DXF to DWG without opening it in the editor (AutoCAD)

2 REPLIES 2
Reply
Message 1 of 3
ccalvo12
863 Views, 2 Replies

save a DXF to DWG without opening it in the editor (AutoCAD)

Hello:
I can save a file as DXF to DWG without opening it in the editor (AutoCAD). when a DWG file is not complicated (see the example code) but would like to be a DXF?

On the other hand in the case of opening a DWG (with no the editor) and store in a last AutoCAD, for example AutoCAD 2000 or AutoCAD 2000 DXF. What should allocate where it says "DwgVersion.".

means AC1001, AC1002 ... What belongs to whom?

 

Thanks for your attention

 

 

 

 db.ReadDwgFile(files , FileShare.ReadWrite, False, "")

 Dim fileName As String = files & ".dwg"

 db.SaveAs(fileName, DwgVersion.Current)

 

2 REPLIES 2
Message 2 of 3
arcticad
in reply to: ccalvo12

http://autodesk.blogs.com/between_the_lines/autocad-release-history.html

---------------------------



(defun botsbuildbots() (botsbuildbots))
Message 3 of 3
Hallex
in reply to: ccalvo12

See code by JeffH here
http://www.theswamp.org/index.php?topic=37409.msg424143#msg424143
_____________________________________
C6309D9E0751D165D0934D0621DFF27919

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost