ACadSharp 1.0.1-alpha

ACadSharp Build Build&Test License

C# library to read/write cad files like dxf/dwg.

Compatible Dwg versions:

  • DWG Release 1.1
  • DWG Release 1.2
  • DWG Release 1.4
  • DWG Release 2.0
  • DWG Release 2.10
  • AC1002 - DWG Release 2.5
  • AC1003 - DWG Release 2.6
  • AC1004 - DWG Release 9
  • AC1006 - DWG Release 10
  • AC1009 - DWG Release 11/12 (LT R1/R2)
  • AC1012 - DWG Release 14, 14.01 (LT97/LT98)
  • AC1014 - DWG Release 14, 14.01 (LT97/LT98)
  • AC1015 - DWG AutoCAD 2000/2000i/2002
  • AC1018 - DWG AutoCAD 2004/2005/2006
  • AC1021 - DWG AutoCAD 2007/2008/2009
  • AC1024 - DWG AutoCAD 2010/2011/2012
  • AC1027 - DWG AutoCAD 2013/2014/2015/2016/2017
  • AC1032 - DWG AutoCAD 2018/2019/2020

Code Example

public static void Main()
{
	string path = "sample.dwg";
	CadDocument doc = DwgReader.Read(path, onNotification);
}

// Process a notification form the reader
private static void onNotification(object sender, NotificationEventArgs e)
{
	Console.WriteLine(e.Message);
}

WIP

The dwg reader is not yet fully implemented, the NotificationHandler will send a message to inform about the objects that could not be readed.

Dwg entities not implemented
  • ACDBPLACEHOLDER
  • VP_ENT_HDR
  • LWPOLYLINE
  • POLYLINE_PFACE
  • LWPOLYLINE
  • ACAD_PROXY_OBJECT
  • VIEW
Dxf
  • DxfReader
  • DxfWriter
Long term
  • DwgWriter

Contributing

Please feel free to fork this repo and send a pull request if you want to contribute to this project.

Notice that this project is in an alpha version, not all the features are implemented and there can be bugs due to this so any PR with a bug fix will not have a priority.

If you want to contribute you can check the Dxf documentation here.

No packages depend on ACadSharp.

.NET Framework 4.8

  • No dependencies.

.NET 5.0

  • No dependencies.

.NET Standard 2.1

  • No dependencies.

Version Downloads Last updated
1.4.4-alpha 60 6/15/2023
1.4.3-alpha 58 5/31/2023
1.4.2-alpha 35 6/19/2023
1.4.1-alpha 54 2/28/2023
1.4.0-alpha 44 6/17/2023
1.3.6-alpha 79 6/15/2023
1.3.4-alpha 44 6/20/2023
1.3.3-alpha 40 6/16/2023
1.3.2-alpha 47 6/19/2023
1.3.1-alpha 44 6/19/2023
1.3.0-alpha 41 6/19/2023
1.2.3-alpha 27 6/16/2023
1.2.2-alpha 67 6/18/2023
1.2.1-alpha 88 6/4/2023
1.2.0-alpha 93 5/31/2023
1.1.0-alpha 45 6/19/2023
1.0.1-alpha 73 6/14/2023
1.0.0-alpha 74 6/20/2023