Teigha™ for .dgn files

A full-featured development environment with a versatile and powerful object oriented C++ API — used to create CAD and technical graphics applications of any size, from simple utilities to full CAD systems

With Teigha for .dgn files, your applications can:

Public Downloads

Member Downloads

Member Documentation

Member Technical Support

Contact

  • Access and save all data in .dgn files.
  • Create .dgn files of any size and containing any object type.
  • Render (view) and edit (redline) objects.
  • Batch edit .dgn files (e.g., display levels on/off or replace text strings in a series of files).
  • Export data to SVG, PDF, BMP, and STL files.
  • Generate thumbnails.

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

Detailed Features

  • Support .dgn file versions:
    • Read support for V7 and V8 (V8 XM and V8I files are fully supported).
    • Write support for V8.
  • Convert from V7 to V8.
  • Render .dgn files using GDI, OpenGL, or DirectX.
  • Edit and manipulate DGN data programmatically, including (with many more):
    • Apply a transformation to an entity.
    • Modify arbitrary properties of database objects.
    • Clone a database object.
  • Export .dgn file data to SVG, PDF, BMP, STL.
  • Support external files such as RSC linetypes and fonts.
  • Support Parasolid and ACIS internally, including rendering (wireframe and shaded) for embedded "smart" and "plain" solids/surfaces and access to the underlying boundary representation data stored within solid/surface entities.
  • Integrate with third-party components. More details at Third Party Components.

Example Applications

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

  • ExDgnDump – Demonstrates how to read a .dgn file and extract entity level data from the file.
  • ExDgnCreate – Demonstrates the programmatic creation of a .dgn file containing examples of most supported entity and object types.
  • OdaDgnApp – MFC application which demonstrates rendering, PDF export, and many other features. 

Supported Operating Systems and Compilers

Note: Additional platforms may be available upon request.

Windows 2000, ME, XP, Vista Visual Studio 6, 2002, 2003, 2005, 2008 (static/dll) Borland Builder 6, 2006, 2009 (static)
Windows x64 Visual Studio 2005, 2008 (static)
Linux (x86/x64) Gcc 3.3, 3.4, 4.1, 4.2 (static/dynamic)
Mac OS/X (ppc/x86/x64) Gcc using 10.3, 10.4, 10.5 SDK (static/dynamic)
HP-UX (RISC) aC++ (static)