This project has moved. For the latest updates, please go here.

use netdxf create dxf file successed, but use AutoCAD to open it ,always said the file is in used or be readonly.

Dec 14, 2014 at 3:15 PM
Edited Dec 14, 2014 at 4:41 PM
dxf.Save("a.dxf", false)
the a.dxf has been created successly, but when i open it with AutoCAD it always said the file is in used or be readonly.

maybe My Autocad2012 has problem.
Dec 15, 2014 at 4:26 PM
I was not able to reproduce your problem.

What I found is that when I open a file by double clicking on it and AutoCad is closed, for unknown reasons it tries to open the same file twice therefore the second time AutoCad finds that the file is already in use. I have no idea if this happens to all versions, languages and/or systems, but this problem is outside the scope of netDxf.