DGN Reader

DGN

File Extension

DGN

Supported Versions

7, 8

Platforms

wy ly my an in

Tessellation

t_green Supported (computed)

dgn_brep

t_green Generated from file

PMI

c_grey Not Supported

The DGN (Design) format is a prominent file format used primarily for computer-aided design (CAD) applications. Developed and maintained by Bentley Systems, DGN files are extensively employed in various industries, including architecture, engineering, construction, and geospatial.

Note

Our current support for DGN file format is provided as alpha version.

How to Import from DGN

To load a DGN file, use A3DAsmModelFileLoadFromFile(). The A3DParamsLoadData structure is used to customize the loading behavior:

A3DAsmModelFile* pModelFile = 0;

A3DRWParamsLoadData sReadParam;
A3D_INITIALIZE_DATA(A3DRWParamsLoadData, sReadParam);
sReadParam.m_sGeneral.m_bReadSolids = true;

// ... set other A3DRWParamsLoadData fields as necessary

A3DAsmModelFileLoadFromFile("path/to/file.dgn", &sReadParam, &pModelFile);

See Simple Load and Export for more about loading model files.

B-rep

DGN format does not store the geometry as tessellation or boundary representation. Instead, we have an exact definition of how to create the geometry ex: definition of an extrusion, a revolution, a B-spline surface, etc.

HOOPS Exchange interprets these various geometry definitions and translates them into B-rep models.

Todo

Add any other relevant section