Teigha™.NET for .dwg files

A managed .NET component containing a rich set of tools for working with .dwg file data and used to create small utility applications, rendering systems, file converters, and more


Public Downloads

Member Downloads

Member Documentation

Member Technical Support

Contact

Built on top of the Teigha for .dwg files C++ development environment, Teigha.NET for .dwg files puts stable, powerful, and mature .dwg file technology into the hands of .NET developers. It is the perfect tool for fast and efficient application development using the .NET framework.

Teigha.NET for .dwg files is available for download by ODA members. Not a member? Several sample applications can be found in Public Downloads.

Detailed Features

  • Supported DWG™, DXF, and BDXF file formats:
    • Read support for .dwg files created in Autodesk® AutoCAD® 2.5 through AutoCAD 2010.
    • Write support for .dwg files created in AutoCAD 12 through AutoCAD 2010.
  • Render .dwg and .dxf files using GDI, OpenGL, or DirectX, with the ability to select entities.
  • Recover and repair damaged .dwg files.
  • Recompute dimension geometry from dimension settings.
  • Edit and manipulate .dwg file data programmatically, including (with many more):
    • Explode an entity into a set of simpler entities.
    • Apply a transformation to an entity.
    • Modify arbitrary properties of database objects.
  • Export .dwg and .dxf file data to SVG (PDF, DWF, BMP, STL exports coming soon).
  • Support transactions and undo/redo capabilities.
  • Support "round-trip" data. For example, when saving a 2007 .dwg file back to R14, 2007-specific properties are saved to the R14 file as xdata and then restored if the file is loaded back into a 2007-compatible application.
  • Support ACIS internally, including rendering (wireframe and shaded) and access to the underlying boundary representation data stored within an ACIS entity.
  • Implement custom commands.

Supported Operating Systems and Compilers

  • Windows 2000, Windows XP, and Windows Vista operating systems.
  • .NET Version: .NET Framework 2.0.
  • C#, VB.NET, ASP.NET, and all other .NET compatible development languages.

Example Applications

Teigha.NET for .dwg files comes with several example applications that cover a wide range of user applications, including:

  • ManagedTestCommand – Demonstrates the implementation of a sample command.
  • OdReadExMgd – Demonstrates how to read a .dwg or .dxf file and extract entity level data from the file.
  • OdViewExMgd – Demonstrates rendering of a .dwg or .dxf file, with SVG export and selection capabilities.
  • OdWriteExMgd – Demonstrates the programmatic creation of a .dwg file containing examples of most supported entity and object types.

DWG is the native and proprietary file format for AutoCAD® and a trademark of Autodesk, Inc. The Open Design Alliance is not associated with Autodesk.