Open
Description
Autocad cant read library dwg/dxf writing output.
To reproduce:
- download Drawing.zip and extract it
- run the following code loading the Drawing.dwg that was inside the zip
`using ACadSharp;
using ACadSharp.Entities;
using ACadSharp.IO;
using CSMath;
CadDocument doc = DwgReader.Read(@"Drawing.dwg");
using (DxfWriter writer = new DxfWriter(@"Drawing.dxf", doc, false))
{
writer.Write();
}
using (DwgWriter writer = new DwgWriter(@"Drawing.dwg", doc, false))
{
writer.Write();
}`
expected a readable file in autocad but the output is much smaller then original dwg and fail in autocad.