Skip to content

autocad cant read library dwg/dxf writing output #315

Open
@mamaorha

Description

@mamaorha

Autocad cant read library dwg/dxf writing output.

To reproduce:

  1. download Drawing.zip and extract it
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions