Agent skill · software engineering · datadrivenconstruction

dwg-to-excel

Convert AutoCAD DWG files (1983-2026) to Excel databases using DwgExporter CLI. Extract layers, blocks, attributes, and geometry data without Autodesk licenses.

Why this skill is useful

Adds a powerful CLI tool for converting DWG files to Excel, enabling batch processing and data extraction that the AI cannot generate on its own.

What it needs

Requires dwgexporter, python3 installed locally. About 6k tokens when loaded. Last updated 2026-02-14. 265 stars on the source repository.

What this skill does

DWG to Excel Conversion Business Case Problem Statement AutoCAD DWG files contain valuable project data locked in proprietary format: Layer structures with drawing organization Block references with attribute data Text annotations and dimensions Geometric entities (lines, polylines, arcs) External references (xrefs) Extracting this data typically requires AutoCAD licenses or complex programming. Solution DwgExporter.exe converts DWG files to structured Excel databases offline, without Autodesk licenses. Business Value Zero license cost - No AutoCAD license required Legacy support - Reads DWG files from 1983 to 2026 Data extraction - Layers, blocks, attributes, text, geometry PDF export - Generate drawings from DWG layouts Batch processing - Convert thousands of DWG files Technical Implementation CLI Syntax Output Formats Output Description -------- ------------- .xlsx Excel database with all entities .pdf PDF drawings from layouts Supported Versions Version Range Description --------------- ------------- R12 (1992) Legacy DWG R14 (1997) AutoCAD 14 2000-2002 DWG 2000 format 2004-2006 DWG 2004 format 2007-2009 DWG 2007 format 2010-2012 DWG 2010 format 2013-2017 DWG 2013 format 2018-2026 DWG 2018 format Examples Python Integration Output Structure Excel Sheets Sheet Content ------- --------- Elements All DWG entities with properties Layers Layer definitions Blocks Block definitions Layouts Drawing layouts/sheets Entity Columns Column Type Description -------- ------ ------------- Handle string Unique entity handle EntityType string LINE, CIRCLE, INSERT, etc. Layer string Layer name Color int Color index (0-256) Linetype string Linetype name Lineweight float Line weight in mm X, Y, Z float Entity coordinates BlockName string For INSERT entities TextContent string For TEXT/MTEXT Quick Start Common Use Cases 1. Layer Audit 2. Block Schedule 3. Drawing Comparison Integration with DDC Pipeline Best Practices 1. Check DWG version - Older files may have limited data 2. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills datadrivenconstruction/dwg-to-excel

View the source on GitHub

Browse the @skills marketplace