Aspose.CAD for .NET allows developers to export a DWG file with embedded DGN inside. Following is the code demonstrating how to access the DGN inside a DWG file while exporting the DWG file.