Agent skill · data analytics · datadrivenconstruction
dgn-to-excel
Convert DGN files (v7-v8) to Excel databases. Extract elements, levels, and properties from infrastructure CAD files.
Why this skill is useful
Provides specific commands and a structured approach for converting DGN files to Excel that the AI wouldn't reliably generate on its own.
What it needs
Requires dgnexporter, python3 installed locally. About 6k tokens when loaded. Last updated 2026-02-14. 265 stars on the source repository.
What this skill does
DGN to Excel Conversion Business Case Problem Statement DGN files are common in infrastructure and civil engineering: Transportation and highway design Bridge and tunnel projects Utility networks Rail infrastructure Extracting structured data from DGN files for analysis and reporting can be challenging. Solution Convert DGN files to structured Excel databases, supporting both v7 and v8 formats. Business Value Infrastructure support - Civil engineering focused Legacy format support - V7 and V8 DGN files Data extraction - Levels, cells, text, geometry Batch processing - Process multiple files Structured output - Excel format for analysis Technical Implementation CLI Syntax Supported Versions Version Description --------- ------------- V7 DGN Legacy MicroStation format (pre-V8) V8 DGN Modern MicroStation format V8i DGN MicroStation V8i format Output Format Output Description -------- ------------- .xlsx Excel database with all elements Examples Python Integration Output Structure Excel Sheets Sheet Content ------- --------- Elements All DGN elements with properties Levels Level definitions Cells Cell library Element Columns Column Type Description -------- ------ ------------- ElementId int Unique element ID ElementType int Type code (3=Line, 17=Text, etc.) Level int Level number Color int Color index Weight int Line weight Style int Line style RangeLowX/Y/Z float Bounding box minimum RangeHighX/Y/Z float Bounding box maximum CellName string Cell name (for cell elements) TextContent string Text content (for text elements) Quick Start Common Use Cases 1. Infrastructure Analysis 2. Level Audit 3. GIS Integration 4. Revision Comparison Integration with DDC Pipeline Best Practices 1. Check version - V7 and V8 have different capabilities 2. Reference files - Process all reference files separately 3. Level mapping - Document level standards for your organization 4. Coordinate systems - Verify units and coordinate systems 5. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills datadrivenconstruction/dgn-to-excel